Fix incorrect day-of-month in LocalTime.