aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/template/date_helper_i18n_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Add i18n scope to disance_of_time_in_words.Steve Klabnik2012-11-261-3/+12
| | | | This is a backport of rails/rails#7997.
* These tests shouldn't depend on local time to pass or fail, we can use utc here.Emilio Tagua2010-09-241-1/+1
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵Santiago Pastorino2010-08-141-1/+1
| | | | 's/[ \t]*$//' -i {} \;)
* Introduce :almost keyword for distance_of_time_in_words. Make 1.75 days - 2 ↵John Trupiano2009-09-281-9/+10
| | | | | | | days return '2 days'. Signed-off-by: Michael Koziarski <michael@koziarski.com> [#3266 state:committed]
* Bump mocha requirement for Ruby 1.9 compat. Remove uses_mocha.Jeremy Kemper2009-02-031-90/+86
|
* Use I18n for date/time select helpers prompt text [#561 state:resolved]Sam Oliver2008-12-221-0/+11
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* use :en as a default locale (in favor of :en-US)Sven Fuchs2008-11-181-11/+11
| | | | Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* update i18n usage for pluralization hashes (api change)Sven Fuchs2008-08-101-0/+22
|
* Refactor DateHelper to use DateTimeSelector presenter patternClemens Kofler2008-08-071-11/+11
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* align with changes in i18nSven Fuchs2008-07-061-4/+4
|
* Make sure mocha is availableLuca Guidi2008-06-271-65/+69
|
* update tests according to removal of self.locale from helpersSven Fuchs2008-06-231-12/+0
|
* check self.locale instead of request.locale in helpersSven Fuchs2008-06-221-4/+4
|
* integrating I18n into RailsSven Fuchs2008-06-191-0/+99