Recent searches


No recent searches

Date format on ticket description

Answered


Posted Nov 20, 2015

when we chose a date in the ticket field and add that date to the description using placeholders it uses the American format, could it be changed to include the English format


0

1

1 comment

Hi Amy, 

  I'd suggest that you use "Regular Expression" instead of "Date" field.  By doing so, you'll be able to define a format that suits your needs.  Regex uses Ruby, thus if you'd like to display DD/MM/YYYY, the regex would look like this:

\b(3[0-1]|[1-2][0-9]|0?[1-9])/(1[0-2]|0?[1-9])/([0-9]{4})\b

  Here's what it'd look like on End-user GUI (Zendesk default format - date field - Vs. Ruby regex:


 

  I'd suggest you add a description to guide End-users wrt the format to be entered:


 

Rgds

Serge 

0


Post is closed for comments.

Didn't find what you're looking for?

New post