This is a migrated thread and some comments may be shown as answers.

kendo.parseDate() is case sensitive

1 Answer 132 Views
Date/Time Pickers
This is a migrated thread and some comments may be shown as answers.
Eskil Hauge
Top achievements
Rank 1
Eskil Hauge asked on 10 Apr 2013, 06:42 AM
kendo.parseDate is case sensitive on month names/abbreviations.

Parsing a simple format as dd-MMM-yyyy is case sensitive: 01-Mar-2013 will parse ok, but 01-mar-2013 does not. jsFiddle sample: http://jsfiddle.net/Cpehb/

We are using KendoUI version 2013.1 319

kendo.core.js, line 1164: 
day = count < 3 ? getNumber(2) : getIndexByName(calendar.days[count == 3 ? "namesAbbr" : "names"]);

getIndexByName (line 1096) performs a case-sensitive match.

Can this be extended to support case-insensitive matches in later release?

1 Answer, 1 is accepted

Sort by
0
Georgi Krustev
Telerik team
answered on 11 Apr 2013, 02:09 PM
Hello Eskil,

 
Thank you for drawing our attention to this limitation. We will address it in the next internal build of Kendo UI. I updated your Telerik points because of the involvement.

Regards,
Georgi Krustev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Date/Time Pickers
Asked by
Eskil Hauge
Top achievements
Rank 1
Answers by
Georgi Krustev
Telerik team
Share this question
or