michael@0: test(); michael@0: function iso(d) { new Date(d).toISOString() } michael@0: function check(s,millis) { iso(millis); } michael@0: function dd(year, month, day, hour, minute, second, millis) { michael@0: return Date.UTC(year, 1, day, hour, minute, second, millis); michael@0: } michael@0: function test() { michael@0: try { michael@0: check("", 20092353211) michael@0: check("", 2009) michael@0: check("", 0) michael@0: check("", dd(BUGNUMBER, 7, 23, 19, 53, 21, 1)) michael@0: } catch (e) {} michael@0: } michael@0: var BUGNUMBER = "10278"; michael@0: test()