Fix trying to add a day to time object.