Update event creation to use right date format