{"_id":"jstz","_rev":"15-9b7cc9fe27c2e4bc992d857c9ad817dd","name":"jstz","description":"Timezone detection for JavaScript","dist-tags":{"latest":"2.1.1"},"versions":{"1.0.5":{"name":"jstz","version":"1.0.5","files":["./dist/jstz.js"],"description":"Timezone detection for JavaScript","scripts":{"test":"mocha"},"author":{"name":"Ian Sinnott","email":"ian@iansinnott.com","url":"iansinnott.com"},"keywords":["time","timezone","tz","moment","moment-timezone","date"],"engines":{"node":">=0.10"},"bugs":{"url":"https://github.com/iansinnott/jstz/issues"},"repository":{"type":"git","url":"git+https://github.com/iansinnott/jstz.git"},"licenses":[{"type":"MIT","url":"https://bitbucket.org/pellepim/jstimezonedetect/src/default/LICENCE.txt"}],"devDependencies":{"chai":"^3.2.0","del":"^0.1.3","gulp":"^3.8.10","gulp-concat":"^2.4.2","gulp-footer":"^1.0.5","gulp-header":"^1.2.2","gulp-jshint":"^1.9.0","gulp-rename":"^1.2.0","gulp-uglify":"^1.0.1","gulp-wrap-commonjs":"^0.1.12","mocha":"^2.3.0"},"gitHead":"b1db98ccb3e7ce4bd0c4fab5ba77b2bfef672fc0","homepage":"https://github.com/iansinnott/jstz#readme","_id":"jstz@1.0.5","_shasum":"60838739ea4fa74509fa90d63ffbed86fc6db009","_from":".","_npmVersion":"2.13.5","_nodeVersion":"0.12.7","_npmUser":{"name":"iansinnott","email":"ian@iansinnott.com"},"dist":{"shasum":"60838739ea4fa74509fa90d63ffbed86fc6db009","tarball":"https://registry.npmjs.org/jstz/-/jstz-1.0.5.tgz","integrity":"sha512-POXGIPpBB1HWdnoZk30niZK8nZGMJod6Nu88u35Fs2kC7wViQLrWHG6Jrrr9LQpTKd50AIW2Sx5sWpvPLOO7bA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD4NjnLYy6/2Tb/wj1hR7V1SQleDb5QmZ9kwR+fMOo2WQIhAKrH02lU+dsfxYzBjz9n8Yx98V/ikQmtSbLvNApweYv6"}]},"maintainers":[{"name":"iansinnott","email":"ian@iansinnott.com"}],"directories":{}},"1.0.6":{"name":"jstz","version":"1.0.6","files":["./dist/jstz.js"],"description":"Timezone detection for JavaScript","scripts":{"test":"mocha"},"author":{"name":"Ian Sinnott","email":"ian@iansinnott.com","url":"iansinnott.com"},"keywords":["time","timezone","tz","moment","moment-timezone","date"],"engines":{"node":">=0.10"},"bugs":{"url":"https://github.com/iansinnott/jstz/issues"},"repository":{"type":"git","url":"git+https://github.com/iansinnott/jstz.git"},"licenses":[{"type":"MIT","url":"https://bitbucket.org/pellepim/jstimezonedetect/src/default/LICENCE.txt"}],"devDependencies":{"chai":"^3.2.0","del":"^0.1.3","gulp":"^3.8.10","gulp-concat":"^2.4.2","gulp-footer":"^1.0.5","gulp-header":"^1.2.2","gulp-jshint":"^1.9.0","gulp-rename":"^1.2.0","gulp-uglify":"^1.0.1","gulp-wrap-commonjs":"^0.1.12","mocha":"^2.3.0"},"gitHead":"c04e686811d9b57867e06e9b7913e05e52357a52","homepage":"https://github.com/iansinnott/jstz#readme","_id":"jstz@1.0.6","_shasum":"4a235fe487e5e8f64ba2d5c9e2e64b1d54ea621d","_from":".","_npmVersion":"2.13.5","_nodeVersion":"0.12.7","_npmUser":{"name":"iansinnott","email":"ian@iansinnott.com"},"dist":{"shasum":"4a235fe487e5e8f64ba2d5c9e2e64b1d54ea621d","tarball":"https://registry.npmjs.org/jstz/-/jstz-1.0.6.tgz","integrity":"sha512-1c7jM+Huo7zImR6bn6WP2FOCwBQPkAre0EqIIeT5YyFDjAmhijNXZ8h6AxIDm4ZEv+yZ+ttH6nfS5/SvaJVduA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDVxixdKcwLwzkdV9nRu3nd3r5vSz34ojRNhckWSH9gMAiEAxzwccBkiatF0EXik/pBU0+PhuLRj0ff9567xEFyLm90="}]},"maintainers":[{"name":"iansinnott","email":"ian@iansinnott.com"}],"directories":{}},"1.0.7":{"name":"jstz","version":"1.0.7","main":"index.js","description":"Timezone detection for JavaScript","scripts":{"test":"mocha"},"author":{"name":"Ian Sinnott","email":"ian@iansinnott.com","url":"iansinnott.com"},"keywords":["time","timezone","tz","moment","moment-timezone","date"],"engines":{"node":">=0.10"},"bugs":{"url":"https://github.com/iansinnott/jstz/issues"},"repository":{"type":"git","url":"git+https://github.com/iansinnott/jstz.git"},"licenses":[{"type":"MIT","url":"https://bitbucket.org/pellepim/jstimezonedetect/src/default/LICENCE.txt"}],"devDependencies":{"chai":"^3.2.0","del":"^0.1.3","gulp":"^3.8.10","gulp-concat":"^2.4.2","gulp-footer":"^1.0.5","gulp-header":"^1.2.2","gulp-jshint":"^1.9.0","gulp-rename":"^1.2.0","gulp-uglify":"^1.0.1","gulp-wrap-commonjs":"^0.1.12","mocha":"^2.3.0"},"gitHead":"33d776d06b4fa784a97c62306bc4125474bb893c","homepage":"https://github.com/iansinnott/jstz#readme","_id":"jstz@1.0.7","_shasum":"ed3cbd2ac3c68532db08635c114586ce934d9eca","_from":".","_npmVersion":"2.13.5","_nodeVersion":"0.12.7","_npmUser":{"name":"iansinnott","email":"ian@iansinnott.com"},"dist":{"shasum":"ed3cbd2ac3c68532db08635c114586ce934d9eca","tarball":"https://registry.npmjs.org/jstz/-/jstz-1.0.7.tgz","integrity":"sha512-DPwQnUES5akJcTNTHer0BJTueb8qZyDqF3lxFVsyP7f+/C7KGt9u11XMHsSjqswizdUgy/G6OeeNm0BlQVotUg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAHAiRf0AixmhbBccqy/z/9UoOyRzyEifqUq575E9/MLAiEA1Oi0+KRnL6N2t9JVqjWYJ1wLPZMsjs+yrVk/bHZatXY="}]},"maintainers":[{"name":"iansinnott","email":"ian@iansinnott.com"}],"directories":{}},"1.0.8":{"name":"jstz","version":"1.0.8","main":"index.js","description":"Timezone detection for JavaScript","scripts":{"test":"mocha","bump:patch":"npm version patch -m \"v%s\"","bump:minor":"npm version minor -m \"v%s\"","bump:major":"npm version major -m \"v%s\"","bump":"npm run bump:patch"},"author":{"name":"Ian Sinnott","email":"ian@iansinnott.com","url":"iansinnott.com"},"keywords":["time","timezone","tz","moment","moment-timezone","date"],"engines":{"node":">=0.10"},"bugs":{"url":"https://github.com/iansinnott/jstz/issues"},"repository":{"type":"git","url":"git+https://github.com/iansinnott/jstz.git"},"licenses":[{"type":"MIT","url":"https://bitbucket.org/pellepim/jstimezonedetect/src/default/LICENCE.txt"}],"devDependencies":{"chai":"^3.2.0","del":"^0.1.3","gulp":"^3.8.10","gulp-concat":"^2.4.2","gulp-footer":"^1.0.5","gulp-header":"^1.2.2","gulp-jshint":"^1.9.0","gulp-rename":"^1.2.0","gulp-uglify":"^1.0.1","gulp-wrap-commonjs":"^0.1.12","mocha":"^2.3.0"},"typings":"./dist/jstz.d.ts","types":"./dist/jstz.d.ts","gitHead":"5d12e5a7c33528f1723ba3d55ac1021e99ff3ef1","homepage":"https://github.com/iansinnott/jstz#readme","_id":"jstz@1.0.8","_shasum":"e1a38a172602a979211cbfa21b53ad01d1449145","_from":".","_npmVersion":"4.0.5","_nodeVersion":"6.9.1","_npmUser":{"name":"iansinnott","email":"ian@iansinnott.com"},"dist":{"shasum":"e1a38a172602a979211cbfa21b53ad01d1449145","tarball":"https://registry.npmjs.org/jstz/-/jstz-1.0.8.tgz","integrity":"sha512-mRwNNYrW77eJS3KHDfSXvfuemUn/gdH1pWf3smzURVeCnHvuChpAcI6cGpZxfy5CYaHHmjBJekheFE71nLSiTA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCu238uhKkH5UarbesZ6EHVUdidqIdvuOWovF/Ta0PqsQIhAIEA3vJlQUhWEAx+Rf/kATDjr7FpT3wLgiaiVK6G9RJU"}]},"maintainers":[{"name":"iansinnott","email":"ian@iansinnott.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/jstz-1.0.8.tgz_1483902919682_0.5986590308602899"},"directories":{}},"1.0.9":{"name":"jstz","version":"1.0.9","main":"index.js","description":"Timezone detection for JavaScript","scripts":{"test":"mocha","bump:patch":"npm version patch -m \"v%s\"","bump:minor":"npm version minor -m \"v%s\"","bump:major":"npm version major -m \"v%s\"","bump":"npm run bump:patch"},"author":{"name":"Ian Sinnott","email":"ian@iansinnott.com","url":"iansinnott.com"},"keywords":["time","timezone","tz","moment","moment-timezone","date"],"engines":{"node":">=0.10"},"bugs":{"url":"https://github.com/iansinnott/jstz/issues"},"repository":{"type":"git","url":"git+https://github.com/iansinnott/jstz.git"},"licenses":[{"type":"MIT","url":"https://bitbucket.org/pellepim/jstimezonedetect/src/default/LICENCE.txt"}],"devDependencies":{"chai":"^3.2.0","del":"^0.1.3","gulp":"^3.8.10","gulp-concat":"^2.4.2","gulp-footer":"^1.0.5","gulp-header":"^1.2.2","gulp-jshint":"^1.9.0","gulp-rename":"^1.2.0","gulp-uglify":"^1.0.1","gulp-wrap-commonjs":"^0.1.12","mocha":"^2.3.0"},"typings":"./dist/jstz.d.ts","types":"./dist/jstz.d.ts","gitHead":"5b7089f487fa4cc89ed5b8103f7feb3c5fa877ac","homepage":"https://github.com/iansinnott/jstz#readme","_id":"jstz@1.0.9","_shasum":"e793ed659fe92f8fd0825e45b7207501e51c6c3f","_from":".","_npmVersion":"4.0.5","_nodeVersion":"6.9.1","_npmUser":{"name":"iansinnott","email":"ian@iansinnott.com"},"dist":{"shasum":"e793ed659fe92f8fd0825e45b7207501e51c6c3f","tarball":"https://registry.npmjs.org/jstz/-/jstz-1.0.9.tgz","integrity":"sha512-j3JS5DfOmvJGoMfDSM0k8NYf0OWOvXZ6yI+E6VjFRZ9oqKNNSEOte0I31Da1fieVZD5KxkUH/9Q7zg/wR2LJ9A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDaZv7A17ITQu9wmZHUt3a3EtSzWxXDdZXsWxPCb/o08wIhAOk1NfdW0QzPgGDJvac7UTTpLoSPT0sBmq+QBPf7yzYM"}]},"maintainers":[{"name":"iansinnott","email":"ian@iansinnott.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/jstz-1.0.9.tgz_1487363701565_0.10535820317454636"},"directories":{}},"1.0.10":{"name":"jstz","version":"1.0.10","main":"index.js","description":"Timezone detection for JavaScript","scripts":{"test":"mocha","bump:patch":"npm version patch -m \"v%s\"","bump:minor":"npm version minor -m \"v%s\"","bump:major":"npm version major -m \"v%s\"","bump":"npm run bump:patch"},"author":{"name":"Ian Sinnott","email":"ian@iansinnott.com","url":"iansinnott.com"},"keywords":["time","timezone","tz","moment","moment-timezone","date"],"engines":{"node":">=0.10"},"bugs":{"url":"https://github.com/iansinnott/jstz/issues"},"repository":{"type":"git","url":"git+https://github.com/iansinnott/jstz.git"},"licenses":[{"type":"MIT","url":"https://bitbucket.org/pellepim/jstimezonedetect/src/default/LICENCE.txt"}],"devDependencies":{"chai":"^3.2.0","del":"^0.1.3","gulp":"^3.8.10","gulp-concat":"^2.4.2","gulp-footer":"^1.0.5","gulp-header":"^1.2.2","gulp-jshint":"^1.9.0","gulp-rename":"^1.2.0","gulp-uglify":"^1.0.1","gulp-wrap-commonjs":"^0.1.12","mocha":"^2.3.0"},"typings":"./dist/jstz.d.ts","types":"./dist/jstz.d.ts","gitHead":"837323fb10b835ea8c548ef50c278795e50933b2","homepage":"https://github.com/iansinnott/jstz#readme","_id":"jstz@1.0.10","_shasum":"cf6c58bff16e3ef5b2d652cf7f466cad110fbadf","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.11.0","_npmUser":{"name":"iansinnott","email":"ian@iansinnott.com"},"dist":{"shasum":"cf6c58bff16e3ef5b2d652cf7f466cad110fbadf","tarball":"https://registry.npmjs.org/jstz/-/jstz-1.0.10.tgz","integrity":"sha512-7+Qc0dXj9oO7GE9yr9PVR7HHwI4E8k8g8xF+/wAv1Z51k471gW+stBFG3cJYqAJfrz4Oazqy34700JvUmQNFVQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAyEuTVXgHUW7iEboc8RTuPXVVa4vJr2DitFUXN2UolPAiEA+axJhTfUWs3GA4Q5QnaZ0lqqy0grXZfUx6NnzvUTvFo="}]},"maintainers":[{"name":"iansinnott","email":"ian@iansinnott.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jstz-1.0.10.tgz_1500074210509_0.46483481442555785"},"directories":{}},"1.0.11":{"name":"jstz","version":"1.0.11","main":"index.js","description":"Timezone detection for JavaScript","scripts":{"test":"mocha","bump:patch":"npm version patch -m \"v%s\"","bump:minor":"npm version minor -m \"v%s\"","bump:major":"npm version major -m \"v%s\"","bump":"npm run bump:patch"},"author":{"name":"Ian Sinnott","email":"ian@iansinnott.com","url":"iansinnott.com"},"keywords":["time","timezone","tz","moment","moment-timezone","date"],"engines":{"node":">=0.10"},"bugs":{"url":"https://github.com/iansinnott/jstz/issues"},"repository":{"type":"git","url":"git+https://github.com/iansinnott/jstz.git"},"licenses":[{"type":"MIT","url":"https://bitbucket.org/pellepim/jstimezonedetect/src/default/LICENCE.txt"}],"devDependencies":{"chai":"^3.2.0","del":"^0.1.3","gulp":"^3.8.10","gulp-concat":"^2.4.2","gulp-footer":"^1.0.5","gulp-header":"^1.2.2","gulp-jshint":"^1.9.0","gulp-rename":"^1.2.0","gulp-uglify":"^1.0.1","gulp-wrap-commonjs":"^0.1.12","mocha":"^2.3.0"},"typings":"./dist/jstz.d.ts","types":"./dist/jstz.d.ts","gitHead":"eb36e4a066da64bc87fe77162ac8401eda1d962d","homepage":"https://github.com/iansinnott/jstz#readme","_id":"jstz@1.0.11","_npmVersion":"5.3.0","_nodeVersion":"8.4.0","_npmUser":{"name":"iansinnott","email":"ian@iansinnott.com"},"dist":{"integrity":"sha512-TII4P76PQfjffpzl3mk6SyqOr0sUqK+zWm1GLv505j9vXNfAPxKC5uWa/hwcPJ0mZvuP3u2xjm3OGuKRlEw/Yw==","shasum":"70e83e55c9621bfa706cdc8aa73f2a03931de7d9","tarball":"https://registry.npmjs.org/jstz/-/jstz-1.0.11.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQClDx+D8zq+qJK2RD19YY90KycDRLAdnlrR1UIyeJ9wAgIgNmNd5k51vuQIHp1tzTN8wiQL77kjjXiOuNqZzVcDyRA="}]},"maintainers":[{"name":"iansinnott","email":"ian@iansinnott.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jstz-1.0.11.tgz_1504631407112_0.3698078498709947"},"directories":{}},"2.0.0":{"name":"jstz","version":"2.0.0","main":"index.js","description":"Timezone detection for JavaScript","scripts":{"test":"mocha","bump:patch":"npm version patch -m \"v%s\"","bump:minor":"npm version minor -m \"v%s\"","bump:major":"npm version major -m \"v%s\"","bump":"npm run bump:patch"},"author":{"name":"Ian Sinnott","email":"ian@iansinnott.com","url":"iansinnott.com"},"keywords":["time","timezone","tz","moment","moment-timezone","date"],"engines":{"node":">=0.10"},"bugs":{"url":"https://github.com/iansinnott/jstz/issues"},"repository":{"type":"git","url":"git+https://github.com/iansinnott/jstz.git"},"licenses":[{"type":"MIT","url":"https://bitbucket.org/pellepim/jstimezonedetect/src/default/LICENCE.txt"}],"devDependencies":{"chai":"^3.2.0","del":"^0.1.3","gulp":"^3.8.10","gulp-concat":"^2.4.2","gulp-footer":"^1.0.5","gulp-header":"^1.2.2","gulp-jshint":"^1.9.0","gulp-rename":"^1.2.0","gulp-uglify":"^1.0.1","gulp-wrap-commonjs":"^0.1.12","mocha":"^2.3.0"},"typings":"./dist/jstz.d.ts","types":"./dist/jstz.d.ts","gitHead":"8094a2dff6cbf33ef50150a58a17f9b88ae61f01","homepage":"https://github.com/iansinnott/jstz#readme","_id":"jstz@2.0.0","_npmVersion":"5.5.1","_nodeVersion":"8.7.0","_npmUser":{"name":"iansinnott","email":"ian@iansinnott.com"},"dist":{"integrity":"sha512-C686KzLJHe079zUwVDkCRkbq26w/vhznVEK1Ea4tiLfX3RvaXUxDFPy5whAe0Q/AhTtAmID0NPAadC/3ROU/DA==","shasum":"fd02f4ebdc7843c83e7ad1f157aecf46bf1f7647","tarball":"https://registry.npmjs.org/jstz/-/jstz-2.0.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCuHXoNtnmZ+QFZDga5jXp6JjYn1NSrEjOurFfC/QPKgAIhAOn+g8lDCtsoHsyAoyzB4YTtBmpOlbnxSqtlVEtAhyTm"}]},"maintainers":[{"name":"iansinnott","email":"ian@iansinnott.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jstz-2.0.0.tgz_1509397529545_0.221504615386948"},"directories":{}},"2.1.1":{"name":"jstz","version":"2.1.1","main":"index.js","description":"Timezone detection for JavaScript","scripts":{"build":"gulp build","pretest":"npm run build","test":"mocha","bump:patch":"npm run build && npm version patch -m \"v%s\"","bump:minor":"npm run build && npm version minor -m \"v%s\"","bump:major":"npm run build && npm version major -m \"v%s\"","bump":"npm run bump:patch"},"author":{"name":"Ian Sinnott","email":"ian@iansinnott.com","url":"iansinnott.com"},"keywords":["time","timezone","tz","moment","moment-timezone","date"],"engines":{"node":">=0.10"},"bugs":{"url":"https://github.com/iansinnott/jstz/issues"},"repository":{"type":"git","url":"git+https://github.com/iansinnott/jstz.git"},"licenses":[{"type":"MIT","url":"https://bitbucket.org/pellepim/jstimezonedetect/src/default/LICENCE.txt"}],"devDependencies":{"chai":"^3.2.0","del":"^0.1.3","gulp":"^3.8.10","gulp-concat":"^2.4.2","gulp-footer":"^1.0.5","gulp-header":"^1.2.2","gulp-jshint":"^1.9.0","gulp-rename":"^1.2.0","gulp-uglify":"^1.0.1","gulp-wrap-commonjs":"^0.1.12","mocha":"^2.3.0"},"typings":"./dist/jstz.d.ts","types":"./dist/jstz.d.ts","gitHead":"528b77e9f827ec359cd3f08abe05ff27b597c4d5","homepage":"https://github.com/iansinnott/jstz#readme","_id":"jstz@2.1.1","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"iansinnott","email":"ian@iansinnott.com"},"dist":{"integrity":"sha512-8hfl5RD6P7rEeIbzStBz3h4f+BQHfq/ABtoU6gXKQv5OcZhnmrIpG7e1pYaZ8hS9e0mp+bxUj08fnDUbKctYyA==","shasum":"fff3373a518fa7cce69299930466f5a2b980389d","tarball":"https://registry.npmjs.org/jstz/-/jstz-2.1.1.tgz","fileCount":16,"unpackedSize":124097,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb3oAjCRA9TVsSAnZWagAA/9MP/RnK871CRxB5o7x8o/Ev\nScf84r22rf9fzx09giVKZMRQP8NXlKQYBBP7NSfPNtXf9W+pHfapenElb9f7\n6rhWd/CCDxa7jg4OASlg6Ff9JMqBMPYhbDkHupzzngxZsimGn43btbbD0Ahf\nG3i3fO2+ftbZwSdQ02Q1pSqCTGZ8G64GZgE53zM4Qly3QtvQ3kcbW4SLTo0m\nQ9ah1XIBEwFkrEBGXoIPLutRLGNCo/TdTs3MlAp4DXQGb420x+0SmuRBwQPh\nEkdKoiOzeE9gUMmk9mU03ZMxOzwXyMf+fiNw18umCaCctIjgtbYBGM3fVMnS\n6emeMmo/wHQK/+uqOraU+dGm5fw09mmEm7Ex+M0Q73hyRxGofXNHdke5rgiB\nQ3v/ah2B6t3Cy5ziaIhivUP81T2t0iS9spUEb7M/dakQerq4GRhV2MZYjR+n\nUWWS3XV7h1KXyRXJqk9qxYNJ1I9FkaY1BUVrhyu+GYjAYYU63yJDN7df04Bl\n+nH3zBdm+kXtkz0Qf3aIVYXCviJEViV+mirxTDFNwdA2BDtZcow1MUOuztuj\nJnMoRrdTL3v5rYVFZ6tuOyVbYpazH0rBBvWpowOM94WzOy4Wqxt8h7kl63Iy\n8lYWuZ20t2d4t9Ap8eccgN8pyZSt/HPcybh2kNBmhK4CD2SQiYWBnAL9DMYA\nUBYV\r\n=CqTr\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDiMTqDsIif5T52Oe0DnobG3tAH2kbMKZ7aaP02p7DGvgIhALVIhdjJhbKtCz4zfLlvLvxhL8lle3qqPh5RVq1r1vbr"}]},"maintainers":[{"name":"iansinnott","email":"ian@iansinnott.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jstz_2.1.1_1541308450393_0.5833569033093153"},"_hasShrinkwrap":false}},"readme":"# JSTZ\n\n[![Circle CI](https://img.shields.io/circleci/project/iansinnott/jstz.svg)](https://circleci.com/gh/iansinnott/jstz)\n[![JSTZ on NPM](https://img.shields.io/npm/v/jstz.svg)](https://www.npmjs.com/package/jstz)\n\nTimezone detection for JavaScript\n\n## What\n\nThis library allows you to detect a user's timezone from within their browser. It is often useful to use JSTZ in combination with a timezone parsing library such as [Moment Timezone][].\n\nThis library is an unofficial fork of [pellepim/jstimezonedetect][jstimezonedetect]. The original library works well and can be used via [CDN][], but it was not configured to work with NPM. This meant the library was less accessible because it could not be retrieved with a simple npm command or included as a dependency in `package.json`. Thus this fork was born.\n\n**Sidenote:** If you're wondering why this isn't an actual GitHub fork it's because the original project uses Mercurial and is hosted on BitBucket.\n\n## Why\n\nDealing with timezones can be a pain. Libraries like [Moment Timezone][] help a lot with the parsing side of things, but if you want to _detect_ the users timezone you would normally have to do it manually. That's where this library comes in.\n\n## Usage\n\n```\n$ npm install --save jstz\n```\n\nIn your JS file:\n\n```js\nimport jstz from 'jstz';\nconst timezone = jstz.determine();\ntimezone.name(); // => 'America/Los_Angeles' (or whatever your user's timezone is)\n```\n\nOr if you prefer ES5:\n\n```js\nvar jstz = require('jstz');\nvar timezone = jstz.determine();\ntimezone.name(); // => 'America/Los_Angeles' (or whatever your user's timezone is)\n```\n\n**Note:** If you're not using a module system such as Webpack or Browserify then I recommend you use the original library delivered via CDNJS:\n\n```html\n<!doctype html>\n<script src='https://cdnjs.cloudflare.com/ajax/libs/jstimezonedetect/1.0.4/jstz.min.js'></script>\n<script>\n  var jstz = require('jstz');\n  var timezone = jstz.determine();\n  console.log('Your timezone is: ' + timezone.name());\n</script>\n```\n\n## Docs\n\nTo learn more about the library head on over to the original library's repo: <https://bitbucket.org/pellepim/jstimezonedetect>\n\n## Use With Rails\n\n`jstz` is an excellent library to use by Rails to determine the time zone of the browser (e.g. the gem [browser-timezone-rails](https://github.com/kbaum/browser-timezone-rails)), but some extra tweaking is necessary to make them play nicely together.\n\nA common use case is to provide a time zone select (`f.time_zone_select`) where it defaults to the user's current time zone. That Rails helper uses `ActiveSupport::TimeZone`, which provides a more human-readable subset of the time zones (e.g. `Eastern Time (US & Canada)` instead of `America/New_York`). `jstz` doesn't know about this subset, so we need to use the `TZInfo` associated with those `ActiveSupport::TimeZone`s to have a correct translation.\n\nThis method could go on your base application controller, assuming you're setting a browser cookie `browser_time_zone`:\n\n```ruby\n# Returns the client's time zone based on a cookie set by the browser, defaults to application time zone\ndef browser_time_zone\n  browser_tz = ActiveSupport::TimeZone.find_tzinfo(cookies[:browser_time_zone])\n  ActiveSupport::TimeZone.all.find { |zone| zone.tzinfo == browser_tz } || Time.zone\nrescue TZInfo::UnknownTimezone, TZInfo::InvalidTimezoneIdentifier\n  Time.zone\nend\n```\n\nThen in the view you could do something like:\n\n```erb\n<%= f.time_zone_select :time_zone, ActiveSupport::TimeZone.us_zones,\n                       default: browser_time_zone.name %>\n```\n\nFurther complicating matters, `jstz` uses the forward-thinking `window.Intl`, which has an awareness of time zones other than what is in Rails, so time zones such as `America/Montreal` from `Intl` will not be found in Rails. If you're using `jstz` with Rails, you will want to tempoarily \"silence\" the use of `Intl` when reading from `jstz`. Here's a code snippet:\n\n```js\nexport function findTimeZone() {\n  const oldIntl = window.Intl\n  try {\n    window.Intl = undefined\n    const tz = jstz.determine().name()\n    window.Intl = oldIntl\n    return tz\n  } catch (e) {\n    // sometimes (on android) you can't override intl\n    return jstz.determine().name()\n  }\n}\n```\n\n## Credits (from the original README.md)\n\nThanks to\n\n  - [Josh Fraser][5] for the original idea\n  - [Brian Donovan][6] for making jstz CommonJS compliant\n  - [Ilya Sedlovsky][7] for help with namespacing\n  - [Jordan Magnuson][9] for adding to cdnjs, documentation tags, and for reporting important issues\n  - [Matt Johnson][11] for adding support for the Internationalization API\n\nOther contributors:\n[Gilmore Davidson][8]\n\n[jstimezonedetect]: https://bitbucket.org/pellepim/jstimezonedetect\n[CDN]: https://cdnjs.com/libraries/jstimezonedetect\n[Moment Timezone]: http://momentjs.com/timezone/\n\n[1]: http://www.iana.org/time-zones\n[3]: https://bitbucket.org/pellepim/jstimezonedetect/src\n[4]: https://github.com/gruntjs/grunt\n[5]: http://www.onlineaspect.com/about/\n[6]: https://bitbucket.org/eventualbuddha\n[7]: https://bitbucket.org/purebill\n[8]: https://bitbucket.org/gdavidson\n[9]: https://github.com/JordanMagnuson\n[11]: https://bitbucket.org/mj1856\n","maintainers":[{"email":"ian@iansinnott.com","name":"ian_sinn"}],"time":{"modified":"2022-06-19T07:03:37.337Z","created":"2015-09-06T08:32:35.697Z","1.0.5":"2015-09-06T08:32:35.697Z","1.0.6":"2015-09-06T08:37:33.118Z","1.0.7":"2015-09-06T08:46:47.247Z","1.0.8":"2017-01-08T19:15:19.918Z","1.0.9":"2017-02-17T20:35:03.351Z","1.0.10":"2017-07-14T23:16:50.635Z","1.0.11":"2017-09-05T17:10:07.275Z","2.0.0":"2017-10-30T21:05:29.645Z","2.1.1":"2018-11-04T05:14:10.540Z"},"homepage":"https://github.com/iansinnott/jstz#readme","keywords":["time","timezone","tz","moment","moment-timezone","date"],"repository":{"type":"git","url":"git+https://github.com/iansinnott/jstz.git"},"author":{"name":"Ian Sinnott","email":"ian@iansinnott.com","url":"iansinnott.com"},"bugs":{"url":"https://github.com/iansinnott/jstz/issues"},"readmeFilename":"README.md","users":{"alex-cory":true,"daveyjake":true}}