1. 01 11月, 2016 3 次提交
    • K
      Merge pull request #26943 from colleenmcguckin/testing_typo · 6b5ad497
      Kasper Timm Hansen 提交于
      fix typo in Rails Test Runner section
      6b5ad497
    • C
      fix typo in Rails Test Runner section · 70062393
      colleenmcguckin 提交于
      70062393
    • A
      Ensure duration parsing is consistent across DST changes · 8931916f
      Andrew White 提交于
      Previously `ActiveSupport::Duration.parse` used `Time.current` and
      `Time#advance` to calculate the number of seconds in the duration
      from an arbitrary collection of parts. However as `advance` tries to
      be consistent across DST boundaries this meant that either the
      duration was shorter or longer depending on the time of year.
      
      This was fixed by using an absolute reference point in UTC which
      isn't subject to DST transitions. An arbitrary date of Jan 1st, 2000
      was chosen for no other reason that it seemed appropriate.
      
      Additionally, duration parsing should now be marginally faster as we
      are no longer creating instances of `ActiveSupport::TimeWithZone`
      every time we parse a duration string.
      
      Fixes #26941.
      8931916f
  2. 31 10月, 2016 11 次提交
  3. 30 10月, 2016 2 次提交
  4. 29 10月, 2016 8 次提交
  5. 28 10月, 2016 11 次提交
  6. 27 10月, 2016 5 次提交