Skip to content

DateRangePicker failed to parse format "yyyy-MM-dd" #2851

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
grigorzyapkov opened this issue Feb 22, 2021 · 1 comment · Fixed by #2873
Closed

DateRangePicker failed to parse format "yyyy-MM-dd" #2851

grigorzyapkov opened this issue Feb 22, 2021 · 1 comment · Fixed by #2873
Assignees
Labels
bug This issue is a bug in the code Medium Prio TOPIC B

Comments

@grigorzyapkov
Copy link

Describe the bug
DateRangePicker does not parse the input dates correctly in version v1.0.0-rc.12 when the specified format-pattern is equal to yyyy-MM-dd. Both firstDateValue and lastDateValue are invalid in the fired event. I guess the problem is related to the delimiter and the logic for splitting the input value.

To reproduce
Steps to reproduce the behavior:

  1. Create DateRangePicker with format-pattern equal to yyyy-MM-dd
  2. Select a date range in the calendar
  3. An error state message will be displayed

Context

  • UI5 Web Components version: v1.0.0-rc.12 version

Affected components
DateRangePicker

Priority: High

@TeodorTaushanov TeodorTaushanov added bug This issue is a bug in the code Medium Prio TOPIC B labels Feb 22, 2021
@TeodorTaushanov
Copy link
Member

Hello @SAP/ui5-webcomponents-topic-b, can you check this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue is a bug in the code Medium Prio TOPIC B
Projects
Status: Completed
3 participants