최근 검색


최근 검색 없음

Date format on ticket description

답변함


2015년 11월 20일에 게시됨

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개

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


게시물 댓글 달기가 중지되었습니다.

원하는 정보를 못 찾으셨나요?

새 게시물