This project is archived and is in readonly mode.

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

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>