=== modified file 'addons/web/static/lib/datejs/parser.js' --- addons/web/static/lib/datejs/parser.js 2011-08-22 14:39:24 +0000 +++ addons/web/static/lib/datejs/parser.js 2013-08-14 15:49:19 +0000 @@ -1110,7 +1110,18 @@ * @param {Object} The expected format {String} or an array of expected formats {Array} of the date string [Required]. * @return {Date} A Date object or null if the string cannot be converted into a Date. */ - $D.parseExact = function (s, fx) { + $D.parseExact = function (s, fx) { + //YT Convert locale month abreviated to english month abreviated + var mmm_index = fx.indexOf('MMM'); + if (mmm_index >= 0) { + var mmm_months = "jan feb mar apr may jun jul aug sep oct nov dec".split(' '); + var mmm_abbreviatedMonths = {}; + $.map($D.CultureInfo.abbreviatedMonthNames, function(value,i){ + mmm_abbreviatedMonths[value] = mmm_months[i] + }); + s = s.substr(0,mmm_index) + mmm_abbreviatedMonths[s.substr(mmm_index,3)] + s.substr(mmm_index+3); + }; + return $D.getParseFunction(fx)(s); }; }()); \ No newline at end of file