Forums

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

Jira Sprint is presenting unacceptable date format

Martin Vali
Contributor
November 5, 2021

Hi

 

Cant start the sprint as date format error is indicated

Default date is assigned for start the sprint "5/Nov/2021 16:00 PM" and end date "19-11-21 16:00"

When I press start following warning is indicated

"'5/Nov/2021 16:00 PM' is not a valid date. Please enter the date in the following format: dd-MM-yy HH:mm"

 

I have changed the formats under:

 

  • system
  • Under USER INTERFACE, select Look and feel.

And also system settings general configuration -> advance settings

 

 

 

1 answer

1 vote
Nic Brough -Adaptavist-
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 5, 2021

Your 5th November date has an extraneous PM at the end - you don't need PM when you're using a 24 hour clock.

Martin Vali
Contributor
November 8, 2021

Hei,

Problem is that I have not written them, the format is given by the Jira - Two different formats - one for start and other for end date

Nic Brough -Adaptavist-
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 8, 2021

Hmm, that's odd.

Could you, as an admin, go to Admin -> System -> General configuration -> Advanced settings (the last one is a button towards the top right of the screen, not in the menu) and check the patterns for dates and date/times all match up consistently.

Martin Vali
Contributor
November 8, 2021

jira.date.picker.java.format - dd-MM-yy

jira.date.picker.javascript.format - %e-%m-%Y

jira.date.time.picker.java.format - dd-MM-yy HH:mm

jira.date.time.picker.javascript.format - %e/%b/%Y %H:%M %p

Martin Vali
Contributor
November 8, 2021

image.png

Nic Brough -Adaptavist-
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 9, 2021

On the date/time settings, the java format is different to the javascript - you should make them consistent - either 24 hour as the java format is, or 12 hour with the am/pm as the javascript is set to.

Martin Vali
Contributor
November 9, 2021

Ok, Can you give me the right code - not familiar with javascript

Suggest an answer

Log in or Sign up to answer