Set format for calendar event