Correcting date format to match ISO when saving an event (previous format was not supported by safari