new_date_by_adding(): fix off-by-one bug in month number