diff options
author | Prem Sichanugrist <s@sikachu.com> | 2010-09-10 22:43:02 +0700 |
---|---|---|
committer | Santiago Pastorino <santiago@wyeworks.com> | 2010-09-19 11:26:20 -0700 |
commit | af6757a1ca7027b526b35d74c94a520d6bb24d7a (patch) | |
tree | 162d9567c963f26800416b2396c8bdc9842132b8 /activesupport/lib/active_support/time | |
parent | e3d38e7da24197057f19529580f9f94424cd4848 (diff) | |
download | rails-af6757a1ca7027b526b35d74c94a520d6bb24d7a.tar.gz rails-af6757a1ca7027b526b35d74c94a520d6bb24d7a.tar.bz2 rails-af6757a1ca7027b526b35d74c94a520d6bb24d7a.zip |
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>
Diffstat (limited to 'activesupport/lib/active_support/time')
0 files changed, 0 insertions, 0 deletions