Shamaila.Yousaf Posted September 16, 2021 Share Posted September 16, 2021 The date and time appears correct in the custom field, however; it appears an hour behind on the email template. Can anyone advise how we are to rectify this please? Thanks Sxx Link to comment Share on other sites More sharing options...
Guest Mary Posted September 16, 2021 Share Posted September 16, 2021 @Shamaila.Yousaf Date variables on email templates can be formatted with the modifier {{.datetimevariable|formatLocalTime}} Please see https://wiki.hornbill.com/index.php?title=Email_Templates for more details. Link to comment Share on other sites More sharing options...
Shamaila.Yousaf Posted September 17, 2021 Author Share Posted September 17, 2021 Thanks @Mary, my email template currently shows this: setup has been scheduled for {{.H_custom_22}} Custom 22 shows correct, where in the email template am i to add the variable as you kindly mentioned above? Regards Sxx Link to comment Share on other sites More sharing options...
Guest Mary Posted September 17, 2021 Share Posted September 17, 2021 @Shamaila.Yousaf You can change the variable on your email template from {{.H_custom_22}} to {{.H_custom_22|formatLocalTime}} Link to comment Share on other sites More sharing options...
Shamaila.Yousaf Posted September 17, 2021 Author Share Posted September 17, 2021 Thanks @Mary have applied, the change. Hopefully this resolves our issue moving forwards. Regards Sxx Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now