fixed bug where time changes were taking effect 1 day late