Fixed month display

See: https://github.com/Doodle3D/doodle3d-client/issues/294
This commit is contained in:
peteruithoven 2015-09-15 10:44:57 +02:00
parent 3835606df1
commit daaa0486f5
1 changed files with 1 additions and 1 deletions

View File

@ -171,7 +171,7 @@
var fields = [ ts.substr(0, 4), ts.substr(4, 2), ts.substr(6, 2) ];
if (!fields || fields.length !== 3 || fields[1] > 12) { return null; }
var abbrMonths = [ 'Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Sep', 'Aug', 'Oct', 'Nov', 'Dec' ];
var abbrMonths = [ 'Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec' ];
return abbrMonths[fields[1] - 1] + " " + fields[2] + ", " + fields[0];
}
function noRetainCheckboxChanged () {