WDAY and MONTH variables in reply template
Hi,
we're trying to use another formatting for the date in a reply template in Service.
The string I have right now below, but it does not work.
Either it’s the wrong syntax (which I do not know) or that the table used does not support it. It is the WDAY and MONTH variables we are struggling with.
%FORMAT_DATE:ticket.x_do_by, "WDAY DD2th of MONTH YY4", "Januari,Februari,Mars,April,Maj,Juni,Juli,Augusti,September,Oktober,November,December","Söndag,Måndag,Tisday,Onsdag,Torsdag,Fredag,Lördag"%
Does anyone know how to format this correctly in a reply template?
Regards
Mats Myrvold
All Replies (3)
A working example which I have used in the customer center:
%FORMAT_DATE: ticket.x_last_external_message,"MONTH DD1 YY4, H12:MI2 AMPM","January,February,March,April,May,June,July,August,September,October,November,December","Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday"%
Results in:
Trying using [[ ]] around instead of % %.
I tried this myself. It seems that the reply template editor encodes quotes when using % around. But when using the brackets, it seems better.
Also, the bracket is the new way to do it, while the percentage is old, and should be avoided.