{"_id":"time-zone","_rev":"9-60430839c2d34aa38589f692dc0486be","name":"time-zone","description":"Pretty time zone: `+2` or `-9:30`","dist-tags":{"latest":"2.0.0"},"versions":{"0.1.0":{"name":"time-zone","version":"0.1.0","description":"Pretty time zone: `+2` or `-9:30`","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/time-zone.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["timezone","utc","time","pretty","human","date","iso","zone"],"devDependencies":{"ava":"*","xo":"*"},"gitHead":"5df43f618666f8a311133f16e742bafae7cfaacc","bugs":{"url":"https://github.com/sindresorhus/time-zone/issues"},"homepage":"https://github.com/sindresorhus/time-zone#readme","_id":"time-zone@0.1.0","_shasum":"4a7728b6ac28db0e008f514043fd555bd5573b46","_from":".","_npmVersion":"2.15.5","_nodeVersion":"4.4.5","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"4a7728b6ac28db0e008f514043fd555bd5573b46","tarball":"https://registry.npmjs.org/time-zone/-/time-zone-0.1.0.tgz","integrity":"sha512-S5CjtVIkeBTnlsaZP3gjsTb78ClBe74sEcgEoBwAVUKnTRDAGqUtLLIZHMsIyqOWjt9DGQpLMMoD8ZKIfP2ddQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFsZ39QKWj4ETBOC+iCDWT/7jB25m5T4ZzCUy+CCmqi/AiB7lXukjpqGNYb8uMJJmFrSyr1qEaqpYxxuHHpDpSnKdA=="}]},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/time-zone-0.1.0.tgz_1469012622197_0.9973430468235165"},"directories":{}},"1.0.0":{"name":"time-zone","version":"1.0.0","description":"Pretty time zone: `+2` or `-9:30`","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/time-zone.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=4"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["timezone","utc","time","pretty","human","date","iso","zone"],"devDependencies":{"ava":"*","xo":"*"},"gitHead":"1d7405196df8b823d475868c63132cfd65de9aaf","bugs":{"url":"https://github.com/sindresorhus/time-zone/issues"},"homepage":"https://github.com/sindresorhus/time-zone#readme","_id":"time-zone@1.0.0","_shasum":"99c5bf55958966af6d06d83bdf3800dc82faec5d","_from":".","_npmVersion":"2.15.11","_nodeVersion":"4.6.2","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"99c5bf55958966af6d06d83bdf3800dc82faec5d","tarball":"https://registry.npmjs.org/time-zone/-/time-zone-1.0.0.tgz","integrity":"sha512-TIsDdtKo6+XrPtiTm1ssmMngN1sAhyKnTO2kunQWqNPWIVvCm15Wmw4SWInwTVgJ5u/Tr04+8Ei9TNcw4x4ONA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDQ68wgY3dQcv5u76qSU92HayK+ZyeL4kDu38bCenRRCgIhAIgxL17IT/FUPkkW4ij0XVvLVoZg59GfBKhGhzZZxHVF"}]},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/time-zone-1.0.0.tgz_1484300660520_0.6081881562713534"},"directories":{}},"2.0.0":{"name":"time-zone","version":"2.0.0","description":"Pretty time zone: `+2` or `-9:30`","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/time-zone.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","engines":{"node":">=12"},"scripts":{"test":"xo && ava"},"keywords":["timezone","utc","time","pretty","human","date","iso","zone"],"devDependencies":{"ava":"^3.15.0","xo":"^0.38.2"},"gitHead":"11e694a30b1d4a66477513133448ba5b70a60716","bugs":{"url":"https://github.com/sindresorhus/time-zone/issues"},"homepage":"https://github.com/sindresorhus/time-zone#readme","_id":"time-zone@2.0.0","_nodeVersion":"12.20.1","_npmVersion":"6.14.10","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"integrity":"sha512-2cp/YLRm7ly33CzvySyXqo/QEOu4KMn6fCof0gpqosWY3PEJUJJhXP/Cb2wXFUuCzWWJYEmPvdHNzjLlfXC49A==","shasum":"dbf85b93072f6755b087677d25b6fab3708119a2","tarball":"https://registry.npmjs.org/time-zone/-/time-zone-2.0.0.tgz","fileCount":4,"unpackedSize":2591,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgfpJXCRA9TVsSAnZWagAAn7kP/0kG7e0fcniCQM2I3fP3\np0OJlzjBgs70DUswyrS8/veGkCtcWfIcJKjxlm2XJ1NOCSYCaYm/BdJpogG0\nMr0O6JQKfaReZ1eAWtNnH3Qpi95V6emJ4lthzBjtIudWyk0B7WjATMASgJYE\ncr3t8jQ+mJbhxUMamPuEMHzlhE7pMDxhqn0z7Dgnz03FU7qHMG3sjI+jUBDC\nRb34tHmUYCSyhAYiOlffWvmptEivKa1g9fQUzY/pRDwkvh/xpKfiQPKpMttN\nkjk8SStc5S44iJKAWb3Iz1SWR0KpjFojuvdNxYqZovT+lZrFZRVX9TETU++6\nGdeScSlE30HsueSvUFy7BwycC4zVhydSy9e/iztWlzvbW9FwXGM8GIWMZmKT\nJ7g4rg5RFQfNoZJf5x7Iw8JXkw99HIuCBiajykN9jNt92o7yFW73AZc44PwD\nPEdYqf53lAVhCaGrgzjpGvtSd8hm5Y6ARZ5FBkS+E6FJmi8dhJ1qMOH7l5ob\nkjCD+1txj4EOzCOqvA0Cqjpj64uS1L+cFTctHPfV/jp5MIrnOT8210M/I9YB\nUnW/s4oXMxpqZMC3OKTcSf/vih/TKS6gi+af2U2JZcHlc8IjYWfWd2I5u1dv\n0bIOPVll0qDvdWkYkJtLut+rAhBkNmC9d4/aTV4Fn02/G8tGX338COQ3BELE\nP7xr\r\n=W6Ip\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDRnyTHsRueNM0P9BcPZm4M+W95OVZOQ8obQqu2MYM2UAiAYbwNgnawPdGF3ydLcSFVFjz1SM42NEE/JJCsrUhCBnA=="}]},"directories":{},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/time-zone_2.0.0_1618907735323_0.14989217270599875"},"_hasShrinkwrap":false}},"readme":"# time-zone\n\n> Pretty [time zone](https://en.wikipedia.org/wiki/Time_zone): `+2` or `-9:30`\n\n## Install\n\n```\n$ npm install time-zone\n```\n\n## Usage\n\n```js\nimport timeZone from 'time-zone';\n\n// Current time zone (in Norway)\ntimeZone();\n//=> '+2'\n\n// Time zone in February (in Norway)\ntimeZone(new Date(2016, 1, 1));\n//=> '+1'\n\n// Current time zone (in French Polynesia)\ntimeZone();\n//=> '-9:30'\n```\n\n## API\n\n### timeZone(date?)\n\n#### date\n\nType: `Date`\\\nDefault: `new Date()`\n\nCustom date.\n","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"time":{"modified":"2023-06-17T00:11:14.110Z","created":"2016-07-20T11:03:44.210Z","0.1.0":"2016-07-20T11:03:44.210Z","1.0.0":"2017-01-13T09:44:20.736Z","2.0.0":"2021-04-20T08:35:35.586Z"},"homepage":"https://github.com/sindresorhus/time-zone#readme","keywords":["timezone","utc","time","pretty","human","date","iso","zone"],"repository":{"type":"git","url":"git+https://github.com/sindresorhus/time-zone.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"bugs":{"url":"https://github.com/sindresorhus/time-zone/issues"},"license":"MIT","readmeFilename":"readme.md","users":{"rocket0191":true,"felegz":true,"flumpus-dev":true}}