Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-11030

Date Time Picker: time element returns the javascript format code (%R).

    XMLWordPrintable

Details

    Description

      The time element of the Date Time picker always opens as 12:00 am whatever time was initially in the field.

      All our settings are for a 24 hour clock - the Date Time picker uses a 12 hour clock:
      Time Format HH:mm 14:54
      Day Format yyyy-MM-dd 2006-09-04
      Complete Date/Time Format yyyy-MM-dd HH:mm 2006-09-04 14:54
      Day/Month/Year Format yyyy-MM-dd 2006-09-04
      Date Picker Format (javascript format) yyyy-MM-dd (%Y-%m-%d) 2006-09-04
      Date Time Picker Format (javascript format) yyyy-MM-dd HH:mm (%Y-%m-%d %R) 2006-09-04 14:54

      When changing the time with the Date Time picker, the time element always returns "%R" instead of the selected time.

      The time can however be directly overtyped in the field so problem not blocking.

      Attachments

        1. calendar.js
          54 kB
          Miroslav Pokorny
        2. CustomFieldUtils.class
          15 kB
          Dylan Etkin [Atlassian]
        3. DateTime_Picker.doc
          43 kB
          Edward COTTAM

        Activity

          People

            anton@atlassian.com AntonA
            ccbd4c9d09ff Edward COTTAM
            Votes:
            2 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: