Fix a few off-by-one errors in date display