Details

      Description

      Create a date field with 0 as the timestamps. It's a very tricky use case as you need to be on UTC timezone and want to enter 01/01/1970 as a date.

      Steps to reproduce:

      • Create a contenttype with a date fieldtype
      • Create a new content
      • Manage to enter 01/01/1970 in utc
      • Display the date, it will say it is empty.
      • Edit the date, it will be empty.

      Fixes should be quite similar as EZP-25375.

        Issue Links

          Activity

          Show
          Damien Pobel (Inactive) added a comment - PR: https://github.com/ezsystems/PlatformUIBundle/pull/572
          Hide
          Damien Pobel (Inactive) added a comment -

          Note: EZP-25719 makes that issue impossible to reproduce manually. Once EZP-25719 fixed, only the date edit view has the bug, the date view handles correctly a 0 timestamp.

          Show
          Damien Pobel (Inactive) added a comment - Note: EZP-25719 makes that issue impossible to reproduce manually. Once EZP-25719 fixed, only the date edit view has the bug, the date view handles correctly a 0 timestamp.
          Show
          Damien Pobel (Inactive) added a comment - Merged to master in https://github.com/ezsystems/PlatformUIBundle/commit/4454a8087eb700822352414c6399f5691ce907f4
          Hide
          Paulo Nunes (Inactive) added a comment -

          QA Approved

          Sanities were executed because I wasn't able to reproduce it, Maybe due EZP-25719.
          Being in UTC, the date is always well saved. The problem is when I edit it again, where the date is set to 31/12/1969, but that issue is within the scope of EZP-25276.

          Show
          Paulo Nunes (Inactive) added a comment - QA Approved Sanities were executed because I wasn't able to reproduce it, Maybe due EZP-25719 . Being in UTC, the date is always well saved. The problem is when I edit it again, where the date is set to 31/12/1969, but that issue is within the scope of EZP-25276 .

            People

            • Assignee:
              Unassigned
              Reporter:
              Yannick Roger (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: