Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-21919

Fix hour in date formatting

    XMLWordPrintable

    Details

      Description

      A few code locations incorrectly use the SimpleDateFormat patterns and use hh (hour in am/pm) instead of HH (hour in day) for the hour specification, resulting in incorrectly displayed dates:

      • org.nuxeo.apidoc.introspection.DateTimeFormat: yyyyMMdd'T'hhmmss'Z' / yyyyMMdd'T'hhmmssZ
      • org.nuxeo.drive.operations.NuxeoDriveGenerateConflictedItemName: yyyy-MM-dd hh-mm
      • org.nuxeo.ecm.platform.scanimporter.service.ScanFileFieldMapping: yyyy-MM-dd'T'hh:mm:ss.sss'Z'
      • org.nuxeo.ecm.platform.smart.query.jsf.IncrementalSmartNXQLQuery: yyyy-MM-dd hh:mm:ss
      • org.nuxeo.template.XMLSerializer: yyyy-MM-dd hh:mm:ss:sss (NXP-22071)
      • org.nuxeo.template.processors.docx/WordXMLRawTemplateProcessor: yyyy-MM-dd'T'hh:mm:ss'Z' (NXP-22071)

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 day, 1 hour
                  1d 1h