Martyn Houghton Posted June 13, 2017 Posted June 13, 2017 Is it currently possible to change the display format of dates when they are inserted into a email template? The reason being is that they default to YYYY-MM-DD HH:MM:SS, which is not the most human readable format. I would prefer to be able to format them as HH:MM DD/MM/YYYY. If not possible to do on a template by template format, it would be good to have a system wide setting where you can specify the default format form email templates as a whole. Cheers Martyn
Victor Posted June 13, 2017 Posted June 13, 2017 @Martyn Houghton as far as I know the date/time values in email templates will have the format defined in system settings... Try and changed these settings and see if the template picks up the new format...
Martyn Houghton Posted June 13, 2017 Author Posted June 13, 2017 @Victor Tried those settings and they do not appear to change the format used in the email template process. I presume the change would happen straight away. I have logged in and out just in case. Cheers Martyn
Victor Posted June 13, 2017 Posted June 13, 2017 @Martyn Houghton indeed, it seems not... Did a bit more digging into this... the date/time format for these fields (date/time fields from requests) in email templates will have the format of the date/time set in user profile... for requests it refers to in which user context the email was sent...that will be the user.... Hope this makes sense, been a long day
Martyn Houghton Posted June 13, 2017 Author Posted June 13, 2017 @Victor Thanks all sorted now. Seemed to take a while to pick up the change the date format in the context of the user sending the email from the request. Cheers Martyn
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