Jump to content

Recommended Posts

Posted

Just noticed this issue on emails being sent out from Hornbill

Template is as follows

image.png.33cb8300bfcf5d15cfb6748fa81317cc.png

{{.H_datelogged}} seems to add an extra Z at the end of the line

image.png.85bac052f859eb8d2424ba2527b8f375.png

Posted

@Mark (ESC) the date time variable is displaying the database value (UTC)

image.png

In order for it to respect the format you are using in the regional timezone and datetimeformat settings, you will need to use a modifer, in this case something like this {{.H_datelogged|formatLocalTime}}

The modifiers are covered on the wiki link below, but i have pulled out the relevant part and added it above.

https://wiki.hornbill.com/index.php?title=Email_Templates

Hope that helps

  • Like 1
  • Thanks 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...