[MGNLWORKFLOW-395] CLONE - DateField handles time zone from user profile incorrectly Created: 25/Aug/20  Updated: 12/Jul/21  Resolved: 28/Aug/20

Status: Closed
Project: Magnolia Workflow Module
Component/s: None
Affects Version/s: None
Fix Version/s: 6.0.2

Type: Bug Priority: Neutral
Reporter: Adam Siska Assignee: Adam Siska
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: 0.25h
Original Estimate: Not Specified

Issue Links:
Cloners
clones MGNLUI-6086 DateField handles time zone from user... Closed
Issue split
relation
is related to WORKFLOWEX-3 Could not parse publication date string Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Epic Link: UI framework implementation
Sprint: UI FW 9
Story Points: 0

 Description   

New DateField apparently ignores time zone from user profile. In 5.x date field has a placeholder mentioning current time zone:

This is relevant particularly in publishing workflow. Note that in the tasks (#shell:pulse) there is time in the system time zone shown regardless of user profile settings.

Reproduction steps:
1) set time zone in Edit User Profile for different time zone (logout/login)
2) publish page (in dx-core) and specify time to publish
3) see publish task scheduled date
4) set time zone in Edit User Profile back to original zone (logout/login)
5) see publish task scheduled date

Expected:
ad 3) scheduled time should be in system time zone
ad 5) same as ^

Actual result:
ad 3) time is the same as was set while publishing
ad 5) same as ^

Acceptance criteria:

  • Publishing workflow should work same as in 5.x, i.e. editor should be able to set publish time within time zone of her own, publisher in tasks app should see time to publish in system time (and also publish action should be performed at that time)
  • DateField should have visible note of currently used timezone

Generated at Mon Feb 12 10:09:38 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.