[MGNLUI-6086] DateField handles time zone from user profile incorrectly Created: 27/Jul/20  Updated: 08/Mar/21  Resolved: 28/Aug/20

Status: Closed
Project: Magnolia UI
Component/s: None
Affects Version/s: None
Fix Version/s: 6.2.3

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

Attachments: PNG File image-2020-07-27-07-54-33-999.png    
Issue Links:
Cloners
is cloned by MGNLWORKFLOW-395 CLONE - DateField handles time zone f... Closed
Issue split
Relates
relates to MGNLUI-3923 Scheduled date in Pulse is not displa... Closed
relates to MGNLUI-6074 Filter out deprecated timezones in Ed... Closed
relates to MGNLUI-6174 FormView#getPropertyValue returns fie... Closed
duplicate
duplicates MGNLUI-3621 Make date picker time zone configurable 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
Date of First Response:
Epic Link: UI framework implementation
Sprint: UI FW 9
Story Points: 5

 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 09:33:01 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.