Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Changeset [c9318e9010712aeae33b1dd0e8bed4795ae37caf] by John Trupiano

Revision c9318e9010712aeae33b1dd0e8bed4795ae37caf, committed by John Trupiano · September 28th, 2009 @ 02:37 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/c9318e9010712aeae33b1dd0e8bed4...

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