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

Date/Time attributes are not timezone friendly

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: High High
    • Resolution: Fixed
    • Affects Version/s: 2015.01
    • Fix Version/s: QA tracked issues, 2015.11.1
    • Labels:
      None
    • Environment:

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

      Description

      When creating a content with a time attribute, when i see the object, the time attribute always has 1 hour added to the registered one.

      Steps to Reproduce

      – Create a Content Type with a Time attribute
      – in Platform U, create one object of the previous Content Type. In Time attribute, register 10:10, for instance
      – Publish the object
      – Now it can be seen that the time appears as "11:10" and not as "10:10" as introduced.

        Issue Links

          Activity

          Paulo Nunes (Inactive) created issue -
          Paulo Nunes (Inactive) made changes -
          Field Original Value New Value
          Status Open [ 1 ] Confirmed [ 10037 ]
          Damien Pobel (Inactive) made changes -
          Description Hi,

          When creating a content with a time attribute, when i see the object, the time attribute always has 1 hour added to the registered one.

          h5. Steps to Reproduce
          -- Create a Content Type with a Time attribute
          -- in Platform U, create one object of the previous Content Type. In Time attribute, register 10:10, for instance
          -- Publish the object
          -- Now it can be seen that the time appears as "11:10" and not as "10:10" as introduced.
          When creating a content with a time attribute, when i see the object, the time attribute always has 1 hour added to the registered one.

          h5. Steps to Reproduce
          -- Create a Content Type with a Time attribute
          -- in Platform U, create one object of the previous Content Type. In Time attribute, register 10:10, for instance
          -- Publish the object
          -- Now it can be seen that the time appears as "11:10" and not as "10:10" as introduced.
          Hide
          Damien Pobel (Inactive) added a comment -

          The same happens with Date And Time as well. It's kind of related to the lack of localization EZP-23429

          Show
          Damien Pobel (Inactive) added a comment - The same happens with Date And Time as well. It's kind of related to the lack of localization EZP-23429
          Damien Pobel (Inactive) made changes -
          Link This issue relates to EZP-23429 [ EZP-23429 ]
          Damien Pobel (Inactive) made changes -
          Priority High [ 3 ] Medium [ 4 ]
          André Rømcke made changes -
          Workflow eZ Engineering Scrumban Workflow [ 66251 ] EZ* Development Workflow [ 70307 ]
          Damien Pobel (Inactive) made changes -
          Priority Medium [ 4 ] High [ 3 ]
          Damien Pobel (Inactive) made changes -
          Status Confirmed [ 10037 ] Backlog [ 10000 ]
          Damien Pobel (Inactive) made changes -
          Status Backlog [ 10000 ] InputQ [ 10001 ]
          Mateusz Hyndle (Inactive) made changes -
          Assignee Mateusz Hyndle [ mateusz.hyndle@ez.no ]
          Mateusz Hyndle (Inactive) made changes -
          Assignee Mateusz Hyndle [ mateusz.hyndle@ez.no ]
          Damien Pobel (Inactive) made changes -
          Rank Ranked lower
          Yannick Roger (Inactive) made changes -
          Assignee Yannick Roger [ yannick.roger@ez.no ]
          Yannick Roger (Inactive) made changes -
          Status InputQ [ 10001 ] Development [ 3 ]
          Yannick Roger (Inactive) made changes -
          Summary Time attribute always has plus 1 hour comparing with the registered one Date/Time attributes are not timezone friendly
          Show
          Yannick Roger (Inactive) added a comment - PR: https://github.com/ezsystems/PlatformUIBundle/pull/434
          Yannick Roger (Inactive) made changes -
          Remote Link This issue links to "PR (Web Link)" [ 15827 ]
          Yannick Roger (Inactive) made changes -
          Status Development [ 3 ] Development Review [ 10006 ]
          Show
          Yannick Roger (Inactive) added a comment - Fixed: time: https://github.com/ezsystems/PlatformUIBundle/commit/1a5927919b7f6e97e753bb50225c2b0ed8222030 dateandtime: https://github.com/ezsystems/PlatformUIBundle/commit/de8e41b45f2feb480b1fcaa55ed29249aa6ea070
          Yannick Roger (Inactive) made changes -
          Status Development Review [ 10006 ] Documentation Review done [ 10011 ]
          Fix Version/s 2015.11.1 [ 14492 ]
          Assignee Yannick Roger [ yannick.roger@ez.no ]
          Paulo Nunes (Inactive) made changes -
          Status Documentation Review done [ 10011 ] QA [ 10008 ]
          Hide
          Paulo Nunes (Inactive) added a comment -

          The reported situation seems to be working now.
          QA Approved

          Show
          Paulo Nunes (Inactive) added a comment - The reported situation seems to be working now. QA Approved
          Paulo Nunes (Inactive) made changes -
          Assignee Paulo Nunes [ paulo.nunes@ez.no ]
          Status QA [ 10008 ] Closed [ 6 ]
          Resolution Fixed [ 1 ]
          Damien Pobel (Inactive) made changes -
          Link This issue is duplicated by EZP-27787 [ EZP-27787 ]
          Alex Schuster made changes -
          Workflow EZ* Development Workflow [ 70307 ] EZEE Development Workflow [ 124612 ]
          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Confirmed Confirmed
          6m 15s 1 Paulo Nunes 19/Feb/15 10:42 AM
          Confirmed Confirmed Backlog Backlog
          249d 6h 39m 1 damien.pobel@ez.no 26/Oct/15 5:22 PM
          Backlog Backlog InputQ InputQ
          5s 1 damien.pobel@ez.no 26/Oct/15 5:22 PM
          InputQ InputQ Development Development
          1d 22h 39m 1 yannick.roger@ez.no 28/Oct/15 4:02 PM
          Development Development Development Review Development Review
          19d 23h 54m 1 yannick.roger@ez.no 17/Nov/15 3:56 PM
          Development Review Development Review Documentation Review done Documentation Review done
          7d 23h 28m 1 yannick.roger@ez.no 25/Nov/15 3:25 PM
          Documentation Review done Documentation Review done QA QA
          18h 34m 1 Paulo Nunes 26/Nov/15 9:59 AM
          QA QA Closed Closed
          1d 2h 20m 1 Paulo Nunes 27/Nov/15 12:20 PM

            People

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

              Dates

              • Created:
                Updated:
                Resolved: