Hi There,
You can change the date format in notification emails by opening your Dashboard in WordPress and going to:
Appointments => Settings => Notifications => Open the notification you want to edit.
If you scroll to the “Message” section, you will see the following line of text:
Appointment scheduled for {{ Appointment.start_date | date(“F d, Y g:ia (T)”, Appointment.customer_timezone) }}
This particular piece of code can be modified to change the date format: (“F d, Y g:ia (T)”.
We use Twig for notifications, which is a PHP-based templating engine. Here are some more details about using the date function in Twig:
https://twig.symfony.com/doc/2.x/filters/date.html
And here are some more details about the PHP variables you can modify:
https://www.php.net/manual/en/function.date.php
Is there a specific date format you are looking to use in your notification?
thanks for very fast answer 🙂
my final solution was:
{{ Appointment.start_date | date(“j. n. Y, G:i”, Appointment.customer_timezone) }}
great plugin!