Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-14064

Datepicker does not properly display time picker if time format is not using 0-23 hours

    XMLWordPrintable

Details

    • Bug
    • Resolution: Solved By
    • Major
    • None
    • 8.4.4
    • None
    • Unknown
    • Awaiting Committer feedback

    Description

      To reproduce:

      • add a date field in a class / application
      • in the date format, set the format to "dd/MM/yyyy HH:mm" (hours in 0-23 format)
      • edit an object of this class, in inline form, which displays the date picker: the time picker is displayed
      • in the class, change the time format, for example, to "dd/MM/yyyy hh:mm a" (hours in 1-12 format, with AM/PM marker - the marker is optional)
      • edit the object of the class again, the datepicker does not display a time picker anymore. This is not normal, a time picker should be displayed in this case as well.

      However, note that if the time format is set to HH:mm, the limitation described by XWIKI-14065 will be hit.

      Attachments

        Issue Links

          Activity

            People

              mflorea Marius Dumitru Florea
              lucaa Anca Luca
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: