You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Following my previous issue: #2182
The UI of the ui5-daterange-picker now works properly and display the correct value (0.23.2).
However, on the same timezone as the previous issue, the firstDateValue and lastDateValue contains wrong Dates.
while it would probably make more sense to have something like: firstDateValue = Tue Sep 1 2020 00:00:00 GMT-0800 (Alaska Daylight Time) lastDateValue = Wed Sep 30 2020 00:00:00 GMT-0800 (Alaska Daylight Time)
To reproduce
Steps to reproduce the behavior:
Change your computer timezone to a timezone in the US West Coast (for example in Anchorage, Alaska). (Using a Mac, go to Preferences => Date and Time => Time zone.
Expected behavior
DateRangePicker should be timezone agnostic. The dates that are displayed in the ui5-daterange-picker and the dates in firstDateValue and lastDateValue should be identical.
Screenshots
Context
UI5 Web Components version: 0.23.2
OS/Platform: macOS Catalina
Affected componentsui5-daterange-picker
The text was updated successfully, but these errors were encountered:
I'm part of the SuccessFactors team
Describe the bug
Following my previous issue: #2182
The UI of the ui5-daterange-picker now works properly and display the correct value (0.23.2).
However, on the same timezone as the previous issue, the
firstDateValue
andlastDateValue
contains wrong Dates.For example: selecting Sep 1, 2020 - Sep 30, 2020 =>
firstDateValue
= Sun Aug 30 2020 16:00:00 GMT-0800 (Alaska Daylight Time)lastDateValue
= Mon Sep 28 2020 16:00:00 GMT-0800 (Alaska Daylight Time)while it would probably make more sense to have something like:
firstDateValue
= Tue Sep 1 2020 00:00:00 GMT-0800 (Alaska Daylight Time)lastDateValue
= Wed Sep 30 2020 00:00:00 GMT-0800 (Alaska Daylight Time)To reproduce
Steps to reproduce the behavior:
Expected behavior
DateRangePicker should be timezone agnostic. The dates that are displayed in the ui5-daterange-picker and the dates in
firstDateValue
andlastDateValue
should be identical.Screenshots
Context
Affected components ui5-daterange-picker
The text was updated successfully, but these errors were encountered: