Cheap fix for the date bug by advancing the time 12 hours when the time is midnight