DateTimePicker : On selection shows a different date and time in chrome based browsers like Chrome and Edge
I am using the DateTimePicker in states from the UI5 web component. When i am trying to select the date and time in my Chrome browser , on selection it shows a different date and time. The same issue i have identified in Edge Browser. This works fine in My Firefox Browser.
Context
- UI5 Web Components version : "@ui5/webcomponents-base": "0.22.0", "@ui5/webcomponents-fiori": "1.0.0-rc.8", "@ui5/webcomponents-react": "0.10.8", "@ui5/webcomponents-react-charts": "0.10.8",
- OS/Platform: SAP Cloud Platfrom (CF)
- Browser (if relevant): Checked on Chrome ( 87.0.4280.67 (Official Build) (x86_64)) , Edge (86.0.622.56 (Official build) (64-bit)) Firefox (v 83)
I have attached the screenshot for the same in sequential order.
- Select the date time picker component.
- selected for 24th Nov 02:02:02
- but the selection applies for Nov20, 2002, 2:02:00 AM
But the same is working in Firefox.
Hello @userujala
Can you provide an isolated sample via CodeSandBox, because I was unable to reproduce it locally on my side.
Please use the exact same format as you are using in your application. Also, it would be nice if you share your local time zone.
Closing due to inactivity.