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

Date and Time attribute displays 1st january 1970 when no date is set

    XMLWordPrintable

    Details

    • Sprint:
      Castor Core S1, Castor Core S2, Castor Core S3

      Description

      The Date and Time attribute displays 1st january 1970 when no date is set.
      This makes it impossible to have empty datetime's, even when the attribute is marked as not required.

      This issue only happens as of eZ Publish 5.3

      *Steps to reproduce:*
      1. Create a new class "TestDateTime" with a "Date and Time" attribute
      2. Create a content object of type "TestDateTime" and notice that the "Date and Time" field is already filled with 1970 01 01 1:00 (screenshot attached)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              ricardo.correia-obsolete@ez.no Ricardo Correia (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 1 day Original Estimate - 1 day
                  1d
                  Remaining:
                  Time Spent - 5 hours Remaining Estimate - 1 day
                  1d
                  Logged:
                  Time Spent - 5 hours Remaining Estimate - 1 day
                  5h