Jump to content
KAZOOcon: hackathon signup and details here! ×

12 hour time in VM email


Tuly

Recommended Posts

Edit the macro in the email template as follows:
{{date_called.local|date:"l, F j, Y @ g:i A"}}

This will produce something like this:
Tuesday, February 28, 2017 @ 12:52 PM

The reason I have an @ symbol is because I found a bug where if you use the word "at" it thinks it's part of the macro...I cannot for the life of me find where I submitted this bug, but last I checked it was still an issue.

See the following page if you want to customize further:
http://php.net/manual/en/function.date.php
Link to comment
Share on other sites

×
×
  • Create New...