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

"Current date" default value for Date Field Type shows yesterday's date

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: High High
    • Customer request
    • 1.7.6, 1.12.2
    • Field types
    • None

    Description

      If the "Current date" default value is set for the Date Field Type, it will, in fact, populate the field with yesterday's date instead of today's date. "Date and time" Field Type works correctly in this case.

      Steps to reproduce

      1. Create new eZ Platform installation.
      2. Create new Content Type with the Date Field Type. Set "Current date" as the default value for this field.
      3. In the Platform UI, navigate to "Content structure", click "Create" button and select the Content Type created in the previous step.
      4. Notice that the Date field will be prepopulated with yesterday's date.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jacek.foremski-obsolete@ez.no Jacek Foremski (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: