Skip to content
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

[DatePicker] February day value is set before checking the year #1688

Open
WissamProgress opened this issue Sep 4, 2023 · 9 comments
Open
Assignees
Labels
Bug Item which indicates that something is not working FP: Planned KendoReact pkg:Dateinputs SEV: High triaged mark the triaged issues with correct priority

Comments

@WissamProgress
Copy link
Collaborator

WissamProgress commented Sep 4, 2023

When setting the month to February and then setting the day to 29, it is automatically changed to 28. However, the day value in this case also depends on the year. For example, for a leap year like 2024, February has 29 days.

Therefore, the day value should be changed only after setting both the month and they year.
Step to reproduce:

It is automatically changed to 28 before setting the year which could be a leap year.

Related to Ticket ID: 1621932

@WissamProgress WissamProgress added Bug Item which indicates that something is not working pkg:Dateinputs SEV: High labels Sep 4, 2023
@WissamProgress WissamProgress changed the title DatePicker sets February day value before checking the year [DatePicker] February day value is set before checking the year Sep 5, 2023
@krishnachaitanya137
Copy link

Any update on this guys?

@WissamProgress
Copy link
Collaborator Author

Hi @krishnachaitanya137 It is currently in an unplanned stage so I increased the item's priority to Priority 2.

@hallerupnet
Copy link

hallerupnet commented Feb 2, 2024

I have the same problem in Angular. My clients are complaining about it these days as the current month is affected by it.
Will this be fixed in Angular at the same time?

@ryanbuening
Copy link

Same problem in Telerik Blazor components.

@WissamProgress
Copy link
Collaborator Author

Hi @hallerupnet and @ryanbuening
I will forward this issue to the Angular and Blazor teams and get back to you.

@WissamProgress WissamProgress added the triaged mark the triaged issues with correct priority label Mar 12, 2024
@WissamProgress
Copy link
Collaborator Author

@ryanbuening for Blazor, I would suggest checking this feedback item that you can vote for and is related to this issue:

If you have any further questions on this, I would suggest submitting a support ticket in the support system or their public forum.

@hallerupnet As for this issue in Angular, I would suggest checking the following comment that addresses this behaviour. In addition, we have the same scenario as the one explained in the comment, and therefore, I will also close this issue since this is expected behaviour.

If there are any further questions, please let me know about them.

@krishnachaitanya137
Copy link

@WissamProgress Is this not gonna be fixed for react too? Is the response same as angular?

@WissamProgress
Copy link
Collaborator Author

Hi @krishnachaitanya137 ,
Sorry for the delayed response. I needed to discuss this with the whole KendoReact team, and we agreed to consider this as a bug for the KendoReact DatePicker component since this validation should not happen directly before entering the full year.

The fix should be related to handling this scenario specifically -> 02.29.ХХХХ when it comes to date validation.

@vveesseelliinnaa
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Item which indicates that something is not working FP: Planned KendoReact pkg:Dateinputs SEV: High triaged mark the triaged issues with correct priority
Projects
None yet
Development

No branches or pull requests

7 participants