Uploaded image for project: 'eZ Platform Enterprise Edition'
  1. eZ Platform Enterprise Edition
  2. EZEE-2481

Time picker bases on system time ignoring time zone in user settings

    Details

      Description

      It affects all time pickers in app (eztime, ezdatetime, content scheduler). Steps mentioned below apply to DBP.

      Preconditions:

      User settings time zone should be set different from time system. (for me it was UTC)

      Steps:

      1. Go to Content/Content structure
      2. Click Create and select Article
      3. Fill required fields and click Publish later
      4. Set date and time and confirm (for me it was 03.10.2018 00:01).
      5. Go to Dashboard, my/all scheduled tab: notice that publication time is displayed like it was set in step 5
      6. Go to user setting and change time zone the same for you time system (for me: Europe/Warsaw)
      7. Go to Dashboard again, my/all scheduled tab

      Actual result:

      Last saved date and time is OK, but publication time is invalid (02.10.2018 10.02 PM)

      Expected result:

      Publication time picked with time picker should be consistent with time zone and publication time in dashboard. Seems like time picker is in another (Europe/Warsaw for this case time zone).

        Issue Links

          Activity

          Hide
          Jakub Brzegowski added a comment -

          Problem also occurs in Page Builder in DatePicker component (from Shedule Block), thanks Katarzyna Zawada for vigilance.

          Show
          Jakub Brzegowski added a comment - Problem also occurs in Page Builder in DatePicker component (from Shedule Block), thanks Katarzyna Zawada for vigilance.
          Show
          Jakub Brzegowski added a comment - PRs created: https://github.com/ezsystems/ezplatform-admin-ui/pull/893 https://github.com/ezsystems/ezplatform-page-builder/pull/316 Connected PR: https://github.com/ezsystems/date-based-publisher/pull/92 from https://jira.ez.no/browse/EZEE-2480
          Show
          Katarzyna Zawada added a comment - PRs merged: to 1.4: https://github.com/ezsystems/ezplatform-admin-ui/commit/ad8533186738baca138e7ace73a4a6a816675f6e to master: https://github.com/ezsystems/ezplatform-admin-ui/commit/b4c564713faf9d677102c39ab74035fc5024b3f0 to 1.2: https://github.com/ezsystems/ezplatform-page-builder/commit/13bf8ab45eaa583919ed49c8ce8bddd218103117 to master: https://github.com/ezsystems/ezplatform-page-builder/commit/2e63e02bdf3152f545412189a7cf4df1c2a1a34e

            People

            • Assignee:
              Unassigned
              Reporter:
              Barbara Grajczyk
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: