2029 Date Bug Fix Edited

Hi,

I know we are several years away, but do you guys have a plan to allow us to post past the year 2029? Currently, we are not able to as any date set to after 12/31/29 is recorded as previous century.

 

Thanks.

 

3 answers

This widget could not be displayed.

Hi James,

Could you please let us know which product you are referring to here?  (JIRA, Confluence, Bitbucket, Bamboo, etc)   It would also help if you could let us know if this is an Atlassian Cloud product or if you are running a self-hosted server version of that product.  

With this information we can then at least better categorize this concern so that the proper teams address this.

I was not able to find any such limitation in the products that I tested.

Sorry for the late reply. I am referring to JIRA and this will be running on a self-hosted server version of the product. 

Thank you. 

Hi James,

Thanks for letting us know.  I can't seem to recreate this kind of limitation on my Jira 7.5.0 server edition.   I am curious to learn exactly what field are you trying to set where you see this limit?  Is this a custom date/time field, a due date, or some other custom field?

What version of Jira are you using right now?

Hey there,

Thanks so much for getting back to me! We upgraded Jira from v6.4 to v7.4.0 .  So the issue we were seeing was with v6.4. 

This is a custom date field called "end date." We get the error when editing an existing issue and changing the date.

We recently upgraded to v7.4.0, so I am going to do some additional testing and will let you know if the limitation exists.

Thank you so much for your outstanding support!

This widget could not be displayed.

Hi James,

Thanks for clarifying.  Once I realized this was a custom field, I set out to recreate this problem.  Indeed, in my Jira 7.5.0 server version, was able to recreate a problem here that I think you are seeing.

I created a new custom field of type Date Picker.  The problem I found though was that by default Jira is tending to use only a 2-digit value for the year.   So when the date format of dd/mm/yy is presented as 05/05/30, Jira doesn't have enough precision in this setup to know if the year is 1930 or 2030.   What makes this more of a problem is that the date picker presents a menu of you to select the year, so even if you choose the 2030 year, that data is getting only stored in the 2 digit format.  Which in turn can lead to confusion that this is supposed to be a 1930 date.

But while looking at this, I did find there are some system settings you can adjust in Jira now to completely avoid this problem.  I found there are two different locations in the Jira system admin menu where you would have to change the date formats that include year to switch them from 2-digit (yy), to a 4-digit (yyyy) for both storage and display purposes.

1. Cog Icon -> System -> General configuration -> Advanced settings:

advancedset1.png

In this case I had to change 4 values on this page (java and javascript date pickers).   For the java ones you can just change the 'yy' to 'yyyy', but for the javascript entries, the syntax is different, you have change '%y' to '%Y'.

 

2. Cog Icon -> System -> User Interface -> Look and Feel

lookfeel1.png

I would also suggest updating the Date/Time Formats on the look and feel page.  In these cases the change is simply increasing the year 'yy' to be 'yyyy'.

 

After I made these changes in my system, that date picker field now appears to be able to handle these date inputs and maintain the value the user entered more accurately.

This widget could not be displayed.

Great! Thank you very much for your due diligence. :) I will try that out. Hopefully this post will help out others in the future. 

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted yesterday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

79 views 1 0
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you