Describe the bug
DynamicDateRange returns an incorrect date range for the built-in DATERANGE option.
The calendar visually selects the correct dates, but the component's resolved dates and selected-range footer are one day earlier than the dates chosen in the calendar.
This occurs specifically with custom ranges.
Environment
@ui5/webcomponents: 2.17.0
@ui5/webcomponents-react: 2.17.0
- Browser: Google Chrome
- Timezone:
America/Monterrey; Central Standard Time (GMT-6)
Isolated Example
No response
Reproduction steps
- Open the control and choose FROM/TO
- In the calendar, select any range of dates, for example August 10 - August 20
- See selected value August 9 - August 19 on footer
...
Expected Behaviour
Select correct date range
Screenshots or Videos
UI5 Web Components for React Version
2.17.0
UI5 Web Components Version
2.17.0
Browser
Chrome
Operating System
No response
Additional Context
This is also happening on UI5 react docs https://ui5.github.io/webcomponents-react/v2/?path=/docs/inputs-dynamicdaterange--docs
Relevant log output
Organization
No response
Declaration
Describe the bug
DynamicDateRangereturns an incorrect date range for the built-inDATERANGEoption.The calendar visually selects the correct dates, but the component's resolved dates and selected-range footer are one day earlier than the dates chosen in the calendar.
This occurs specifically with custom ranges.
Environment
@ui5/webcomponents:2.17.0@ui5/webcomponents-react:2.17.0America/Monterrey; Central Standard Time (GMT-6)Isolated Example
No response
Reproduction steps
...
Expected Behaviour
Select correct date range
Screenshots or Videos
UI5 Web Components for React Version
2.17.0
UI5 Web Components Version
2.17.0
Browser
Chrome
Operating System
No response
Additional Context
This is also happening on UI5 react docs https://ui5.github.io/webcomponents-react/v2/?path=/docs/inputs-dynamicdaterange--docs
Relevant log output
Organization
No response
Declaration