dojox
Version:
Dojo eXtensions, a rollup of many useful sub-projects and varying states of maturity – from very stable and robust, to alpha and experimental. See individual projects contain README files for details.
19 lines (18 loc) • 937 B
JSON
({
name: "date.timezone.Africa-Bamako",
runTest: function(t){
var tz = "Africa/Bamako";
doh.checkDate({tzOffset: 32, tzAbbr: "LMT"}, -2147483648000, tz, 1);
doh.checkDate({tzOffset: 32, tzAbbr: "LMT"}, -2147397248000, tz, 1);
doh.checkDate({tzOffset: 32, tzAbbr: "LMT"}, -1830382081000, tz, 1);
doh.checkDate({tzOffset: 0, tzAbbr: "GMT"}, -1830382080000, tz, 1);
doh.checkDate({tzOffset: 0, tzAbbr: "GMT"}, -1131235201000, tz, 1);
doh.checkDate({tzOffset: 60, tzAbbr: "WAT"}, -1131235200000, tz, 1);
doh.checkDate({tzOffset: 60, tzAbbr: "WAT"}, -300841201000, tz, 1);
doh.checkDate({tzOffset: 0, tzAbbr: "GMT"}, -300841200000, tz, 1);
doh.checkDate({tzOffset: 0, tzAbbr: "GMT"}, 2147397247000, tz, 1);
doh.checkDate({tzOffset: 0, tzAbbr: "GMT"}, 2147483647000, tz, 1);
doh.checkDate({tzOffset: 0, tzAbbr: "GMT"}, 1231151400000, tz, 0);
doh.checkDate({tzOffset: 0, tzAbbr: "GMT"}, 1246789800000, tz, 0);
}
})