Fixed an issue where the time would be set a day too far in advance.