This project is archived and is in readonly mode.

Changeset [af6757a1ca7027b526b35d74c94a520d6bb24d7a] by Prem Sichanugrist

September 19th, 2010 @ 07:26 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/af6757a1ca7027b526b35d74c94a52...

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>