This project is archived and is in readonly mode.
Changeset [f489b3341c6f5488eadeea0544ce0decc22e351e] by John Trupiano
Revision f489b3341c6f5488eadeea0544ce0decc22e351e,
committed by John Trupiano
· September 28th, 2009 @ 02:56 AM
Introduce :almost keyword for distance_of_time_in_words. Make 1.75 days - 2 days return '2 days'.
Signed-off-by: Michael Koziarski michael@koziarski.com
[#3266 state:committed]
http://github.com/rails/rails/commit/f489b3341c6f5488eadeea0544ce0d...
4 changed files
-
M
actionpack/lib/action_view/helpers/date_helper.rb -
M
actionpack/lib/action_view/locale/en.yml -
M
actionpack/test/template/date_helper_i18n_test.rb -
M
actionpack/test/template/date_helper_test.rb