diff options
author | Xavier Noria <fxn@hashref.com> | 2010-05-09 01:20:23 +0200 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2010-05-09 01:20:23 +0200 |
commit | 636ffa1f089a51c98fce616191846eaba93d7b87 (patch) | |
tree | a8c0178a4eccfb55253f957e5bc2015381fb4975 /activesupport/CHANGELOG | |
parent | 605c6455ac722ed9679e17458a47cc649cdedab0 (diff) | |
download | rails-636ffa1f089a51c98fce616191846eaba93d7b87.tar.gz rails-636ffa1f089a51c98fce616191846eaba93d7b87.tar.bz2 rails-636ffa1f089a51c98fce616191846eaba93d7b87.zip |
Backports Date#>> from 1.9 so that calculations do the right thing around the calendar reform
Our next_month gives November for some late dates in September of 1582.
Related methods, last_*, and in general advance have the same issues.
This commit fixes those, see the test suite for expected behavior, which
we still run in 1.9 to ensure it matches as we do with other methods
defined in Date in 1.9.
Diffstat (limited to 'activesupport/CHANGELOG')
-rw-r--r-- | activesupport/CHANGELOG | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/activesupport/CHANGELOG b/activesupport/CHANGELOG index 3061bcef4f..1e01cfc45f 100644 --- a/activesupport/CHANGELOG +++ b/activesupport/CHANGELOG @@ -1,5 +1,7 @@ *Rails 3.0.0 [beta 4/release candidate] (unreleased)* +* Backports Date#>> from 1.9 so that calculations do the right thing around the calendar reform. [fxn] + * Date#to_time handles properly years in the range 0..138. [fxn] * Deprecate {{}} as interpolation syntax for I18n in favor of %{} [José Valim] |