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

Content with some 2038 and 1911 dates are not correctly shown after publishing

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Medium Medium
    • Resolution: Duplicate
    • Affects Version/s: dev-master
    • Fix Version/s: QA tracked issues
    • Labels:
      None
    • Environment:

      Operating System: CentOS 7.0 x64
      PHP Version: 5.4.16
      Database and version: Mariadb 5.5
      Browser (and version): Firefox 36

      Description

      When I publish content with certain dates, they are wrongly presented after being published
      Examples (YYYY-MM-DD):
      1911-01-01 shows 31-12-1910 after publihsing

      1911-01-01 2010-12-31 Not OK
      2038-01-20 2038-01-19 Not OK - all dates after 2038-01-19 are shown as 2038-01-19
      2015-01-01 2015-01-01 OK
      Steps to Reproduce

      – Create a content type with date fieldtype
      – Create an object of the referred content type. Use the dates referred above
      – Publish
      – Verify the shown date after publishing

      Note: Related with Year 2038 problem?

        Issue Links

          Activity

          Hide
          Damien Pobel (Inactive) added a comment -

          Indeed, that's the 2038 problem which comes from the way the date are stored and EZP-22898 is already about that. So closing as duplicate of EZP-22898.

          Show
          Damien Pobel (Inactive) added a comment - Indeed, that's the 2038 problem which comes from the way the date are stored and EZP-22898 is already about that. So closing as duplicate of EZP-22898 .

            People

            • Assignee:
              Unassigned
              Reporter:
              Paulo Nunes (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: