Better handling of relative months and years
- Increment months strictly: 01.01.2015 + 1m = 01.02.2015. - If there are fewer days in target month, date is rounded down: 31.10.2015 + 1m = 30.11.2015. - Years are incremented as 12 months. - Leap years are 366 days long: 01.03.2015 + 1y = 01.03.2016 (not 29.02.2016 as it would have been if year was equal to 365d)
Showing
Please register or sign in to comment