Fix off-by-one bug with months.