Skip to content
Branch: master
Find file History
pixeltrix Fix Time#advance to work with dates before 1001-03-07
In #10634 the behavior of Time#advance was changed to maintain a
proleptic gregorian calendar for dates before calendar reform. However
it didn't full address dates a long time before calendar reform and
they gradually drift away from the proleptic calendar the further you
go back in time. Fix this by always converting the date to gregorian
before calling advance which sets the reform date to -infinity.
Latest commit 58ac3f2 Mar 18, 2019
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
array Fix including/excluding flattening Mar 6, 2019
big_decimal [Active Support] `rubocop -a --only Layout/EmptyLineAfterMagicComment` Jul 11, 2017
class activesupport: Simplify class_attribute implementation (#35454) Mar 3, 2019
date No dup nor delete from options Jan 18, 2019
date_and_time Refactor calculating beginning_of_quarter and end_of_quarter (#34927) Jan 14, 2019
date_time Fix issue where duration where always rounded up to a second: Oct 12, 2018
digest Update links to use https instead of http [ci skip] Aug 22, 2017
file Ensure correct permission when `tmpdir` is the same as `dirname`. Oct 2, 2018
hash Remove redundant returning `object` Feb 8, 2019
integer Faster multiple_of? method Sep 12, 2018
kernel Remove the Kernel#` override that turns ENOENT into nil Jan 31, 2019
module Change wording of some instances of 'opt out' [ci skip] Mar 12, 2019
numeric Follow up #34754 Dec 20, 2018
object This PR speeds up Nil#try by avoiding an allocation when only one arg… Oct 4, 2018
range ActiveSupport module may not always already defined here Oct 20, 2018
string Update docs for 'parameterize()' [ci skip] Mar 15, 2019
time Fix Time#advance to work with dates before 1001-03-07 Mar 18, 2019
array.rb Use native `Array#append`, `Array#prepend`, `Hash#transform_keys`, an… Dec 20, 2018
benchmark.rb [Active Support] `rubocop -a --only Layout/EmptyLineAfterMagicComment` Jul 11, 2017
big_decimal.rb [Active Support] require_relative => require Oct 21, 2017
class.rb [Active Support] require_relative => require Oct 21, 2017
date.rb [Active Support] require_relative => require Oct 21, 2017
date_time.rb [Active Support] require_relative => require Oct 21, 2017
enumerable.rb Fix including/excluding flattening Mar 6, 2019
file.rb [Active Support] require_relative => require Oct 21, 2017
hash.rb Add 'Hash#deep_transform_values', and 'Hash#deep_transform_values!' Feb 8, 2019
integer.rb [Active Support] require_relative => require Oct 21, 2017
kernel.rb Remove the Kernel#` override that turns ENOENT into nil Jan 31, 2019
load_error.rb Add `Style/RedundantFreeze` to remove redudant `.freeze` Sep 29, 2018
marshal.rb [Active Support] `rubocop -a --only Layout/EmptyLineAfterMagicComment` Jul 11, 2017
module.rb Remove deprecated `Module#reachable?` method Jan 17, 2019
name_error.rb Merge pull request #29685 from ayanko/fix-slow-name-error-missing-name Jan 9, 2018
numeric.rb Deprecate "active_support/core_ext/numeric/inquiry" Mar 3, 2018
object.rb [Active Support] require_relative => require Oct 21, 2017
range.rb Allow Range#=== and Range#cover? on Range May 22, 2018
regexp.rb Rails 6 requires Ruby 2.4.1+ Feb 17, 2018
securerandom.rb Make Active Storage blob keys lowercase Dec 30, 2018
string.rb [Active Support] require_relative => require Oct 21, 2017
time.rb [Active Support] require_relative => require Oct 21, 2017
uri.rb Remove unused variable Mar 22, 2018
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.