Skip to content
This repository was archived by the owner on Sep 3, 2026. It is now read-only.

EZP-31557: Added timezone offset to ezdate field form value - #341

Merged
lserwatka merged 1 commit into
2.5from
EZP-31557
Jul 28, 2020
Merged

lserwatka merged 1 commit into
2.5from
EZP-31557

Conversation

@barw4

@barw4 barw4 commented Jul 3, 2020 •

Copy link
Copy Markdown
Member
Question Answer
Tickets https://jira.ez.no/browse/EZP-31557
Bug fix? yes
New feature? no
BC breaks? no
Tests pass? yes
Doc needed? no

The offset should be added to the final timestamp to convert it to the GMT time. Right now the server could be located in America\Chicago and the end-user with local time in Asia which in some conditions would show discrepancies in shown date. The final date during the publishing is converted to GMT time either way.

Related admin-ui PR: ezsystems/ezplatform-admin-ui#1350

Checklist:

  • Coding standards ($ composer fix-cs)
  • Ready for Code Review

@tomaszszopinski tomaszszopinski left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

QA approved on eZPlatform-ee v2.5.12 with diff and patch.

@lserwatka
lserwatka merged commit c95f4dc into 2.5 Jul 28, 2020
@lserwatka
lserwatka deleted the EZP-31557 branch July 28, 2020 10:31
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Development

Successfully merging this pull request may close these issues.

5 participants