Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-28491

Inconsistencies with DateTime, Date, and Time field definitions

    XMLWordPrintable

    Details

      Description

      1. Make the time format consistent for both DateTime and Time.

      Current format for DateTime- HH:MM:SS AM/PM
      Current format for Time- HH:MM (24 hrs format)

      Expected format should be - HH:MM AM/PM (when 'use seconds' is NOT checked in the content type)

      2. The date format changes when the date is published.
      I entered 12/8/2017 (MM/DD/YYYY) but after published the date appears in a different format - DD/MM/YYYY.

      Maintain the format MM/DD/YYYY for both content item Edit & View mode

      3. Incorrect current date and time
      Given that the field definitions will show the current date and time by default. I created a new content item on Dec 11, 2017, at 4:13 PM.
      The following were the inputs in all the field definitions (please refer to the attached screenshot)

      • Date and Time - 12/11/2014 4:13 PM - Correct
      • Date - 12/10/2017 - Incorrect
      • Time - 21:13 - Incorrect

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                supriya.bhargava@ez.no Supriya Bhargava
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: