This project is archived and is in readonly mode.

Changeset [c9318e9010712aeae33b1dd0e8bed4795ae37caf] 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...

Committed by John Trupiano

  • 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

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>