Jira 7.9.2 on Windows Server 2012. Upgraded from 6.4 through 7.0.11.
I'm experiencing an error when using the date picker in a custom field. The date picker is inserting the correct format (d/MMM/yy), but I'm getting an error:
Adding a period to jira.date.picker.javascript.format (%e/%b./%y) fixes this, but this seems like more of a workaround.
User locale is Danish, system locale is US English.
The error has been confirmed in both Chrome and IE11.
Has anyone experienced similar issues?
Well, I see a potential problem. If you're trying to set the project start date to be the 14th day of November, it's not possible that the project end date is the 18th day of July in the same year, because the start date has to be on or before the end date.
So that is the first part I would want to clarify here.
If that isn't the entire cause of this problem (and I suspect it might not be), then please let me know exactly what values you have currently for System ->General Configuration -> Advanced Settings -> for both:
and then if you could, please also navigate to System -> User interface -> Look and Feel -> scroll to the bottom of this page, you can also get here by going to /secure/admin/LookAndFeel!default.jspa
Please let me know what values you have here as well for
Both sets of date fields are important here to make sure that Jira can supply the expected date format. It is possible that the date picker is in one format, but that the java format is expecting a different set of values that the javascript is not accurately providing and in turn that frequently can cause these kinds of error messages.
Hi Andrew,
Thank you very much for your answer, and sorry for taking so long to get back to you.
I can confirm that the dates being in the past wasn't the issue, as I've tested with dates being properly set also.
The settings are as follows:
- jira.date.picker.javascript.format: d/MMM/yy
- jira.date.time.picker.javascript.format: dd/MMM/yy h:mm a
- Complete Date/Time Format: dd/MMM/yy h:mm a
- Day/Month/Year format: dd/MMM/yy
As far as I can tell, these look correct. I'm experiencing the same issue with the Due Date field, and have made a few additional observations:
- Setting the Jira User Preference to English fixes this, as it doesn't expect a period after MMM.
- Changing the preference back to Danish suddenly adds the period when using the date picker, and thus the error does not appear.
- Closing and re-opening the browser (keeping the User Preference as Danish) causes the issue to re-appear. The date picker doesn't insert a period, and I get an error when submitting the value.
I'm thinking this might have to do with the language pack, but it doesn't seem very consistent to me. Any ideas for a fix that will allow the users to use any language of their choosing without getting this annoying error? It's likely to hurt adoption among "normal" users...
Regards,
Daniel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.