fixed the allDay problem when you open up the day version of the calendar