This patch fixes an existing bug with Time, Date and DateTime #advance -- currently, it raises an ArgumentError when advancing by year from a leap day:
This patch fixes an existing bug with Time, Date and DateTime #advance -- currently, it raises an ArgumentError when advancing by year from a leap day: