diff --git a/phpgwapi/js/jscalendar/calendar.js b/phpgwapi/js/jscalendar/calendar.js index 37599e3a11..41dbd8b907 100644 --- a/phpgwapi/js/jscalendar/calendar.js +++ b/phpgwapi/js/jscalendar/calendar.js @@ -1447,6 +1447,12 @@ Calendar.prototype.parseDate = function (str, fmt) { break; case "%b": + if (Calendar._SMN) { // if we have short month-names, use them + for (j = 0; j < 12; ++j) { + if (Calendar._SMN[j].substr(0, a[i].length).toLowerCase() == a[i].toLowerCase()) { m = j; break; } + } + if (j < 12) break; + } case "%B": for (j = 0; j < 12; ++j) { if (Calendar._MN[j].substr(0, a[i].length).toLowerCase() == a[i].toLowerCase()) { m = j; break; }