Fixed date of events not being saved