• Is there a way to change the date format in the emails? It is currently coming out as 2018-09-12 11:00:00. That is quite unsightly for my area.

    Thanks,

    Christy

Viewing 1 replies (of 1 total)
  • Plugin Contributor etoilewebdesign

    (@etoilewebdesign)

    Hi Christy,

    We hope to be able to add an option for date formatting within the reminder emails in a future update. In the meantime, the only way to do it would be to modify the core plugin code directly, if that’s something you’re comfortable doing. You’d have to open the EWD_UASP_Reminders.php file, in the Functions folder, and replace the following line:

    $Appointment->Appointment_Start,
    

    with something like

    date('l, F jS \a\t h:i A', $Appointment->Appointment_Start),
    

    That applies date formatting to the time in the email. You may need to play around with the code (as per http://php.net/manual/en/function.date.php) to get it how you want.

Viewing 1 replies (of 1 total)
  • The topic ‘Date format’ is closed to new replies.