Skip to content
Permalink
Browse files
datepicker: changed parseDate to be case insensitive. Fixed #6036 - d…
…atepicker: parseDate is case sensitive.
  • Loading branch information
AndrewNewcomb authored and scottgonzalez committed Sep 9, 2010
1 parent 9a2dafa commit 590e03cc328879f67b2350b76b50ec34d559739e
Showing 1 changed file with 1 addition and 1 deletion.
@@ -982,7 +982,7 @@ $.extend(Datepicker.prototype, {
var getName = function(match, shortNames, longNames) {
var names = (lookAhead(match) ? longNames : shortNames);
for (var i = 0; i < names.length; i++) {
if (value.substr(iValue, names[i].length) == names[i]) {
if (value.substr(iValue, names[i].length).toLowerCase() == names[i].toLowerCase()) {
iValue += names[i].length;
return i + 1;
}

0 comments on commit 590e03c

Please sign in to comment.