UNPKG

@instructure/timezone

Version:

Small, elegant, Olson educated, timezone aware date math and `strftime` date formatting in pure JavaScript with no dependendcies for Node.js and the browser. Timezone uses the Olson/IANA timezone database. Timezone is aware of every clock transition in th

1 lines 1.23 kB
module.exports={"zones":{"Australia/North":["z",{"wallclock":-2230156800000,"format":"AC%sT","abbrev":"ACST","offset":34200000,"posix":-2230189200000,"save":0,"rules":"Aus"},{"wallclock":-2364076800000,"format":"ACST","abbrev":"ACST","offset":32400000,"posix":-2364108200000,"save":0},{"wallclock":-1.7976931348623157e+308,"format":"LMT","abbrev":"LMT","offset":31400000,"posix":-1.7976931348623157e+308,"save":0}]},"rules":{"Aus":[{"from":1943,"to":1944,"month":2,"day":[0,-31],"time":180,"clock":"wallclock","save":0,"letter":"S","saved":3600000},{"from":1943,"to":1943,"month":9,"day":[7,3],"time":120,"clock":"wallclock","save":60,"letter":"D","saved":0},{"from":1942,"to":1942,"month":0,"day":[7,1],"time":120,"clock":"wallclock","save":60,"letter":"D","saved":0},{"from":1942,"to":1942,"month":2,"day":[0,-31],"time":180,"clock":"wallclock","save":0,"letter":"S","saved":3600000},{"from":1942,"to":1942,"month":8,"day":[7,27],"time":120,"clock":"wallclock","save":60,"letter":"D","saved":0},{"from":1917,"to":1917,"month":0,"day":[7,1],"time":120,"clock":"wallclock","save":60,"letter":"D","saved":0},{"from":1917,"to":1917,"month":2,"day":[0,-31],"time":180,"clock":"wallclock","save":0,"letter":"S","saved":3600000}]}}