This project is archived and is in readonly mode.
Changeset [636ffa1f089a51c98fce616191846eaba93d7b87] by Xavier Noria
May 9th, 2010 @ 12:20 AM
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.
http://github.com/rails/rails/commit/636ffa1f089a51c98fce616191846e...
Committed by Xavier Noria
- M activesupport/CHANGELOG
- M activesupport/lib/active_support/core_ext/date/calculations.rb
- M activesupport/test/core_ext/date_ext_test.rb
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>