Closed GoogleCodeExporter closed 8 years ago
Minor modification to Date.Translator.year().
// New
year: function (s) {
return function () {
var n = Number(s);
this.year = ((s.length > 2) ? n :
(n + (((n + 2000) < Date.CultureInfo.twoDigitYearMax) ? 2000 : 1900)));
};
},
Original comment by geoff%co...@gtempaccount.com
on 13 Nov 2007 at 10:27
Original issue reported on code.google.com by
geoff%co...@gtempaccount.com
on 12 Nov 2007 at 2:00