configure parse-date.js in Intl Service

0 Answers 96 Views
Calendar DateInput DatePicker
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Kumeri asked on 14 Jul 2022, 05:06 AM

Hi, 

We are using the "kendo-calendar" in our application and are using IntlService.parseDate for parsing dates. This function ignores the twoDigitYearMax setting as the year 2029 is hardcoded in it. That means that any dates from 2030 and onward will be treated as 1930 and onward instead (when input using a 2-digits format mask)

 Given that 2030 is soon (noticeably closer than 1930), some of our customers are already entering delivery dates for that year.

 

The constant TWO_DIGIT_YEAR_MAX = 2029 in kendo-intl/src/dates/parse-date.js should be made configurable instead to avoid those problems.

IS there any possible way to achieve this? 

Yanmario
Telerik team
commented on 18 Jul 2022, 02:47 PM | edited

Hi Kumeri,

I will consult this matter with our developers and get back to you by the end of the week with additional information on this matter.

 

Regards,
Yanmario
Progress Telerik
Yanmario
Telerik team
commented on 21 Jul 2022, 08:28 AM

Hi Kumeri,

I consulted the request with our developers and indeed it is valid. Would you like me to log it into our Feedback portal on your behalf where the request can be tracked? 

I am looking forward to your reply.

Regards,
Yanmario
Progress Telerik
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
commented on 22 Jul 2022, 05:01 AM

Hi, 

Please login to your Feedback portal on behalf of me

Thank you

Martin Bechev
Telerik team
commented on 26 Jul 2022, 10:34 AM

Hi Kumeri,

Here is the feature request:

https://feedback.telerik.com/kendo-angular-ui/1573870-allow-configuring-two-digit-year-max-field

Feel free to add any further notes if necessary.

No answers yet. Maybe you can help?

Tags
Calendar DateInput DatePicker
Asked by
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Share this question
or