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

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

2 changed files

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