corrects the year number, fixes #17835; test updated

fixes #17835, the month-year label was incorrect when the month is december; see the updated test page.