Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Date format on standard and custom field

Olivier MAZEN
Contributor
March 26, 2018

Hello there,

 

I faced on an issue concerning the date format in a JIRA Sevice Desk application.

 

I have configure my application threw advanced setting screen and change the following value:

 

- jira.date.picker.java.format to "dd/mm/yyyy".

- jira.date.time.picker.java.format to "dd/mm/yyyy".

 

But when i pick up a date on a custom field the date is displayed like this:

"18/mar/18"

 

And when i want to save my change, an error message is triggered as follow:

"Invalid date format. Please enter the date in the format "dd/mm/yyyy"."

 

I miss something but i dont found out where excacly.

 

Do you have any idea ?

 

Thank in advance for any tips or feed back :)

 

Olivier

3 answers

1 accepted

3 votes
Answer accepted
Mirek
Community Champion
March 26, 2018

The date or date/time formats for date pickers are defined by a pair of properties (one for Java and the other for JavaScript). The two properties in this Java/JavaScript pair must match in order for the date (or date/time) picker they define to function correctly.

https://confluence.atlassian.com/jira/changing-the-due-date-input-format-192536.html

0 votes
Olivier MAZEN
Contributor
April 6, 2018

Hello Mirek,

i face another issue after you answer my previous post.

 

There is apparently inconsistency between the date i pick in a Create screen and the date displayed is a Edit screen.

 

I pick a date 03/04/18 in a issue creation screen ( 3 april 2018)

And in my view sceen the date is 03/janv/18.

 

How JIRA translate the 04 to January ? i dont get it to be honest.

 

Do you have any idee?

Olivier

0 votes
Olivier MAZEN
Contributor
March 26, 2018

Hi Mirek !

Perfect i miss it 

thank you :)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events