Closed saran85 closed 1 month ago
Hello @saran85,
The example you provided is with version 1.17, I have updated the example to 1.22(which includes the fix) and it seems, okay to me.
Can you please retest and get back to us?
Best Regards, Gergana
I appreciate it, it's working as expected.
Bug Description
The DateTimePicker component in our UI5 web application is exhibiting unexpected behavior related to the default time when selecting a date. It consistently provides an incorrect default time instead of occasionally using the local time, which is causing usability and data entry issues for our users. please refer previous ticket https://github.com/SAP/ui5-webcomponents/issues/7992 . The issue persists even after updating to the new version.
Affected Component
DateTimePicker
Expected Behaviour
When selecting a date, the DateTimePicker should automatically use the local time or, at the very least, display a time value that accurately corresponds to the selected date.
Isolated Example
https://codesandbox.io/p/sandbox/datetimepicker-rn4z43
Steps to Reproduce
Navigate to the DateTimePicker in the application. Select a date by clicking on the calendar icon. Observe that the DateTimePicker sets an incorrect default time.![image](https://github.com/SAP/ui5-webcomponents/assets/95576439/6f961402-a282-4585-a0fa-33939add8485)
Log Output, Stack Trace or Screenshots
No response
Priority
High
UI5 Web Components Version
1.17.0
Browser
Chrome, Edge
Operating System
No response
Additional Context
No response
Organization
No response
Declaration