This project is archived and is in readonly mode.

Changeset [e125bf264eeedf4251010eb2989dc8e5b8e33d86] by Prem Sichanugrist

September 19th, 2010 @ 07:47 PM

Use Time.current to maintain consistency with AS::Duration

In [32b82e4c6f5523cdf5ee78c3022c50b46e018351], the committer has switch
methods in AS::Duration to use Time.current to return the correct
duration based on the Time.default_zone instead of using Time.now.

[#5607 state:committed]

Signed-off-by: Santiago Pastorino santiago@wyeworks.com
http://github.com/rails/rails/commit/e125bf264eeedf4251010eb2989dc8...

Committed by Prem Sichanugrist

  • M activesupport/lib/active_support/core_ext/numeric/time.rb
  • M activesupport/test/core_ext/numeric_ext_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>