sap.m.DatePicker show wrong date when switch timezone
Open
@Todor-ads is already working on this.
Since May 20, 2024.
bug
consulting
in progress
- Dominant language
- JavaScript
- Stars
- 3.3k
- Forks
- 1.3k
- PR merge metrics
- No merged PRs in 30d
Description
OpenUI5 version:
1.120.1
Browser/version (+device/version):
Chrome Version 120.0.6099.71 (Official Build) (x86_64)
Any other tested browsers/devices(OK/FAIL):
MacOS
URL (minimal example if possible):
https://ui5.sap.com/1.120.1/#/entity/sap.m.DatePicker/sample/sap.m.sample.DatePicker
User/password (if required and possible - do not post any confidential information here):
Steps to reproduce the problem:
- Change chrome timezone to 'Pacific/Apia'
- Refresh ui5 sample page
- Click simple datepicker, select 2023-12-14, the input show 'Dec 13, 2023'
What is the expected result?
It should be 'Dec 14, 2023'
What happens instead?
Any other information? (attach screenshot if possible)
Edge has same problem
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.