telerik / kendo-react

Issue tracker - KendoReact http://www.telerik.com/kendo-react-ui/
https://kendo-react-teal.vercel.app
Other
212 stars 40 forks source link

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

Open WissamProgress opened 1 year ago

WissamProgress commented 1 year ago

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

krishnachaitanya137 commented 1 year ago

Any update on this guys?

WissamProgress commented 1 year ago

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

hallerupnet commented 10 months ago

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 commented 8 months ago

Same problem in Telerik Blazor components.

WissamProgress commented 8 months ago

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

WissamProgress commented 8 months ago

@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 commented 8 months ago

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

WissamProgress commented 8 months ago

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 commented 8 months ago

Public feedback item - https://feedback.telerik.com/kendo-react-ui/1646650-typing-in-a-feb-29th-2024-day-into-a-datepicker

PekoPPT commented 4 months ago

The fix of this issue will introduce breaking change in the behavior of the component and this is why it will be fixed in Q4

ThomasPonzoVisma commented 1 month ago

I have the same issue on what date will Q4 release?

iadnonov commented 4 weeks ago

The last planned breaking change, unfortunately, did not resolve the issue. This is due to an internal problem within our common package that has affected all Kendo products. Our development team is planning to address this issue in the next quarter.

Please excuse us for the inconvenience caused by this.