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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: High High
    • Resolution: Fixed
    • Affects Version/s: 1.7.6, 1.12.2
    • Fix Version/s: Customer request
    • Component/s: Field types
    • Labels:
      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.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Jacek Foremski (Inactive)
          • Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: