• T
    Fix ActiveSupport::TimeWithZone#in · 76c2553b
    Thomas Balthazar 提交于
    Previously calls to `in` were being sent to the non-DST aware
    method `Time#since` via `method_missing`. It is now aliased to
    the DST aware `ActiveSupport::TimeWithZone#+` which handles
    transitions across DST boundaries, e.g:
    
        Time.zone = "US/Eastern"
    
        t = Time.zone.local(2016,11,6,1)
        # => Sun, 06 Nov 2016 01:00:00 EDT -05:00
    
        t.in(1.hour)
        # => Sun, 06 Nov 2016 01:00:00 EST -05:00
    76c2553b
可在Tags中查看这些版本中当前仓库的状态.
CHANGELOG.md 6.5 KB