Fixed an issue with the month number when changing the year