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 [e125bf264eeedf4251010eb2989dc8e5b8e33d86] by Prem Sichanugrist

Revision e125bf264eeedf4251010eb2989dc8e5b8e33d86, committed 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...

2 changed files

  • M activesupport/lib/active_support/core_ext/numeric/time.rb
  • M activesupport/test/core_ext/numeric_ext_test.rb