Custom field date picker will not add time zone

Pangianto Pang November 14, 2012

Hi i have a date picker custom field and after i pick a date from the javascript calendar, i do not have the time zone.

e.g. 18/Sep/13 12:36 AM

what i need is 18/Sep/13 12:36 AM EST, how to add the timezone after picking a date from calendar?

i got an error saying: Invalid date / time format. Expected dd/MMM/yy h:mm a z

and i am not able to proceed to create an issue.

Thanks you all in advanced.

2 answers

0 votes
Nitram
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 14, 2012

Hi panguin,

Check this Link https://confluence.atlassian.com/display/JIRA050/Configuring+JIRA+Options#ConfiguringJIRAOptions-advanced

This will tell you how to change this jira.date.time.picker.javascript.format.

NOTE Keep both javascript and java format same.

Thanks

0 votes
Pangianto Pang November 14, 2012

I found that the cause but i do not know how to fix

jira.date.time.picker.javascript.format = %d/%b/%y %l:%M %p

i cannot add the timezone into the below command %Z as it is not supported :(

Any workaround?

Suggest an answer

Log in or Sign up to answer