-
Bug
-
Resolution: Low Engagement
-
Low (View bug fix roadmap)
-
None
-
5.0, 4.4.5, 5.1, 5.2, 6.0, 6.1, 6.1.5
-
4.04
-
2
-
Severity 3 - Minor
-
Summary
The JavaScript format does not match the Java format for jira.date.time.picker.java.format as below:
<property> <key>jira.date.time.picker.java.format</key> <name>DateTime Picker Format (Java)</name> <description>This part is only for the Java (server side) generated datetimes. Note that this should correspond to the javascript datetime picker format (jira.date.time.picker.javascript.format) setting.</description> <descriptionKey>jira.date.time.picker.java.format.desc</descriptionKey> <default-value>dd/MMM/yy h:mm a</default-value> <type>string</type> <validator>com.atlassian.validation.SimpleDateFormatValidator</validator> <admin-editable>false</admin-editable> <sysadmin-editable>true</sysadmin-editable> <requires-restart>false</requires-restart> </property> <property> <key>jira.date.time.picker.javascript.format</key> <name>DateTime Picker Format (JavaScript)</name> <description>This part is only for the JavaScript (client side) generated date times. Note that this should correspond to the java datetime picker format (jira.date.time.picker.java.format) setting.</description> <descriptionKey>jira.date.time.picker.javascript.format.desc</descriptionKey> <default-value>%e/%b/%y %I:%M %p</default-value> <type>string</type> <admin-editable>false</admin-editable> <sysadmin-editable>true</sysadmin-editable> <requires-restart>false</requires-restart> </property>
Expected Behaviour
Either the Java format should be dd/MMM/yy hh:mm a or the JavaScript format should be %e/%b/%y %l:%M %p
It looks like it is set to %I instead of %l perhaps as an accident as they can look identical depending upon the font used?
$ date +'%e/%b/%y %I:%M %p' 7/Jan/14 05:51 pm $ date +'%e/%b/%y %l:%M %p' 7/Jan/14 5:51 pm
Actual Behaviour
See the file excerpt above.
Replication Steps
This is in JIRA 6.1.5 jpm.xml, reviewing the file for that version shows the error.
Notes
This behaviour is explained in more detail in Changing the Due Date Input Format.
Hi,
At Atlassian, our goal is to ensure we’re providing the best experience for our customers. With our new Data Center strategy, Atlassian's focus is on security, compliance, and performance and is a key driver in prioritizing bugs. Closing the bugs that do not fall into those categories will allow us to focus on the ones in the most current versions of our products.
This bug is being closed due to a lack of engagement in the last four years, including no new watchers, votes, or comments; this inactivity suggests a low impact.
Please note the comments on this thread are not being monitored.
You can read more about our bug fix policy here and how we prioritize bugs.
To learn more about our recent investments in Jira Data Center, please check our public roadmap and dashboards containing recently resolved issues, current work, and future plans.
Kind regards,
Jira Data Center