{"_id":"new-date","_rev":"42-cc79cc88b650d8d8eaa0f5983e59bff9","name":"new-date","description":"Creates a new Date, but accepts a few more input types than normal.","dist-tags":{"latest":"1.0.3"},"versions":{"0.0.2":{"name":"new-date","version":"0.0.2","description":"Creates a new Date, but accepts a few more input types than normal","main":"index.js","directories":{"test":"test"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/segmentio/new-date.git"},"keywords":["new","date","new-date"],"author":{"name":"Segment.io"},"license":"MIT","gitHead":"be14b8b45a66c013abee141005b0e8c038f6fb24","bugs":{"url":"https://github.com/segmentio/new-date/issues"},"_id":"new-date@0.0.2","dist":{"shasum":"69283d6cd0660aa48ba841196d9b5632dcb33693","tarball":"https://registry.npmjs.org/new-date/-/new-date-0.0.2.tgz","integrity":"sha512-NH4oYEnyU09ySIYi7RY3OAQsZ9R+TNhZtI4+im0WkZAG+u5RnL0QS9foAI38irDw9h3FVZlhav6NV3q3GvJGXA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCR0C8IZRHLXoPHDHIEBm9UF4PPMUfq0t7wi0Ez9Q9qgAIgUy7d5JynHJzROKy5uTyJn8sjXjuf6BY777+Tcr7bB4Y="}]},"_from":".","_npmVersion":"1.2.30","_npmUser":{"name":"segmentio","email":"friends@segment.io"},"maintainers":[{"name":"segmentio","email":"friends@segment.io"}]},"0.1.0":{"name":"new-date","version":"0.1.0","description":"Creates a new Date, but accepts a few more input types than normal","main":"index.js","directories":{"test":"test"},"scripts":{},"repository":{"type":"git","url":"git://github.com/segmentio/new-date.git"},"keywords":["new","date","new-date"],"dependencies":{"type":"segmentio/type"},"author":{"name":"Segment.io"},"license":"MIT","gitHead":"be14b8b45a66c013abee141005b0e8c038f6fb24","bugs":{"url":"https://github.com/segmentio/new-date/issues"},"_id":"new-date@0.1.0","dist":{"shasum":"18edcdeaae99501f15135f65a3685148309cc2f0","tarball":"https://registry.npmjs.org/new-date/-/new-date-0.1.0.tgz","integrity":"sha512-P0BCC/qNX6a4n1LprSsUaW2EJVjNU/K0i0dk84pS5ZDnXz9fOghyRDyhWBmauzxKdn3aa/S/j+C8O4o6uUD6Jw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDH9UgQg0m0trOkw72TvUilnl17qPB1dZdZjgs0/kf69QIhAM20oGiU1fWuwc88qf+YN5ijkcrqNjUBZ0cQHyWvxhY5"}]},"_from":".","_npmVersion":"1.2.30","_npmUser":{"name":"segmentio","email":"friends@segment.io"},"maintainers":[{"name":"segmentio","email":"friends@segment.io"}]},"0.1.1":{"name":"new-date","version":"0.1.1","description":"Creates a new Date, but accepts a few more input types than normal","main":"index.js","directories":{"test":"test"},"scripts":{},"repository":{"type":"git","url":"git://github.com/segmentio/new-date.git"},"keywords":["new","date","new-date"],"dependencies":{"type":"segmentio/type"},"author":{"name":"Segment.io"},"license":"MIT","gitHead":"be14b8b45a66c013abee141005b0e8c038f6fb24","bugs":{"url":"https://github.com/segmentio/new-date/issues"},"_id":"new-date@0.1.1","dist":{"shasum":"dbb81fb5c2a5bfd0d1162a2985f71876cf93287f","tarball":"https://registry.npmjs.org/new-date/-/new-date-0.1.1.tgz","integrity":"sha512-uHeveGjwcqHp53YnTqe7taNTGU99bhWxyzsoab3+vwygSCIH7PKcyn1UjQ6f6zBy/KshGFTvMkmQCdfrhnDtIQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFR47x9AP6/mGkekd5oJmkvtk0mAP5H5cYgpFZiZlgGiAiAlOpGQDemi4ERX6YdL/tJWvOvVpnx+56ewN1SLs9gjGA=="}]},"_from":".","_npmVersion":"1.2.30","_npmUser":{"name":"segmentio","email":"friends@segment.io"},"maintainers":[{"name":"segmentio","email":"friends@segment.io"}]},"0.1.2":{"name":"new-date","version":"0.1.2","license":"MIT","description":"Creates a new Date, but accepts a few more input types than normal.","main":"index.js","repository":{"type":"git","url":"git://github.com/segmentio/new-date.git"},"keywords":["new","date","new-date"],"dependencies":{"is":"ianstormtaylor/is#0.0.4"},"bugs":{"url":"https://github.com/segmentio/new-date/issues"},"_id":"new-date@0.1.2","dist":{"shasum":"18c1479000008ace26c998376db9187cade7b94d","tarball":"https://registry.npmjs.org/new-date/-/new-date-0.1.2.tgz","integrity":"sha512-88cH9Hzvi8zYQlfLjIIgCLSGFa9fJv8XiTPw6StnizoSJaaA3+vaJC78434ofYX5pboZgpfxjlVGwg9ZHMq5HQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBvSTkTqzSUoZLTQVbOD1Z4cHOtQzHEHzmu7+F2XASwsAiEA+lLd1P/rhwwXbnJqxwEYbAloYeS1JmqtIuCqTDO9W0E="}]},"_from":".","_npmVersion":"1.3.5","_npmUser":{"name":"segmentio","email":"ian@segment.io"},"maintainers":[{"name":"segmentio","email":"friends@segment.io"}],"directories":{}},"0.2.0":{"name":"new-date","version":"0.2.0","license":"MIT","description":"Creates a new Date, but accepts a few more input types than normal.","main":"lib/index.js","repository":{"type":"git","url":"git://github.com/segmentio/new-date.git"},"keywords":["new","date","new-date"],"dependencies":{"is":"0.2.6","isodate":"segmentio/isodate#0.0.1"},"bugs":{"url":"https://github.com/segmentio/new-date/issues"},"_id":"new-date@0.2.0","dist":{"shasum":"a790af028f060c21cc24a1bb4bdbf1e4305eb264","tarball":"https://registry.npmjs.org/new-date/-/new-date-0.2.0.tgz","integrity":"sha512-BM8xIjuPjKYnGf0nNUS3ijEA33EiRIjCsiZRjFU2MdC+RlGr/lBxcFxu82rlVxcHREjLiXOi5CigjgrDWZoPZQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCIVgmXV8zpPiBR1iBpmHHfZm/T5i28F39mpyAICtVIrwIhAL9nM7BTIsC3E5Hr2WTZ44RQjhPRhOH0hLXF+sCAg9Lo"}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"segmentio","email":"friends@segment.io"},"maintainers":[{"name":"segmentio","email":"friends@segment.io"}],"directories":{}},"1.0.0":{"name":"new-date","description":"Creates a new Date, but accepts a few more input types than normal.","version":"1.0.0","keywords":["new","date","new-date"],"main":"lib/index.js","scripts":{"test":"make test"},"repository":{"type":"git","url":"git+https://github.com/segmentio/new-date.git"},"author":{"name":"Segment","email":"friends@segment.com"},"license":"SEE LICENSE IN LICENSE","bugs":{"url":"https://github.com/segmentio/new-date/issues"},"homepage":"https://github.com/segmentio/new-date#readme","dependencies":{"@segment/isodate":"1.0.2","is":"0.2.6"},"devDependencies":{"@segment/eslint-config":"^3.0.0","browserify":"^13.0.0","browserify-istanbul":"^2.0.0","eslint":"^2.9.0","istanbul":"^0.4.3","karma":"^0.13.22","karma-browserify":"^5.0.4","karma-chrome-launcher":"^1.0.1","karma-coverage":"^1.0.0","karma-mocha":"^1.0.1","karma-phantomjs-launcher":"^1.0.0","karma-sauce-launcher":"^1.0.0","karma-spec-reporter":"0.0.26","mocha":"^2.2.5","phantomjs-prebuilt":"^2.1.7","proclaim":"^3.4.1","watchify":"^3.7.0"},"gitHead":"e7ce3a9f725e9de869f9a0e73a403f20555be370","_id":"new-date@1.0.0","_shasum":"8e3626845773f040646733a73ffa7caab1f80cc6","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.3.1","_npmUser":{"name":"segment","email":"tools+npm@segment.com"},"dist":{"shasum":"8e3626845773f040646733a73ffa7caab1f80cc6","tarball":"https://registry.npmjs.org/new-date/-/new-date-1.0.0.tgz","integrity":"sha512-HjnIA5wijqVc9dBaiQrPvliSK/MfsziE9HojSXLKAxOOl9KUShjTtlITK0jBADT1fHQtQrUTD6AOMoITix9/GQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD1n5bu+U4Zvpt/qcYU4A7sazIrnuNaqmOxlmpsSvfxAgIhAIZMfMXsLN17AZ2NzewrVwrW7J1RBLIsavrbmH9D+Rm6"}]},"maintainers":[{"name":"segment","email":"tools+npm@segment.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/new-date-1.0.0.tgz_1463036589447_0.6626478692051023"},"directories":{}},"1.0.1":{"name":"new-date","description":"Creates a new Date, but accepts a few more input types than normal.","version":"1.0.1","keywords":["new","date","new-date"],"main":"lib/index.js","scripts":{"test":"make test"},"repository":{"type":"git","url":"git+https://github.com/segmentio/new-date.git"},"author":{"name":"Segment","email":"friends@segment.com"},"license":"SEE LICENSE IN LICENSE","bugs":{"url":"https://github.com/segmentio/new-date/issues"},"homepage":"https://github.com/segmentio/new-date#readme","dependencies":{"@segment/isodate":"1.0.2","is":"^3.1.0"},"devDependencies":{"@segment/eslint-config":"^3.1.1","browserify":"^13.0.0","browserify-istanbul":"^2.0.0","eslint":"^2.9.0","istanbul":"^0.4.3","karma":"^1.1.0","karma-browserify":"^5.0.4","karma-chrome-launcher":"^1.0.1","karma-coverage":"^1.0.0","karma-mocha":"^1.0.1","karma-phantomjs-launcher":"^1.0.0","karma-sauce-launcher":"^1.0.0","karma-spec-reporter":"0.0.26","mocha":"^2.2.5","phantomjs-prebuilt":"^2.1.7","proclaim":"^3.4.1","watchify":"^3.7.0"},"_id":"new-date@1.0.1","_shasum":"0044981b1739161e653099c44e6e9e4ff72e02d2","_from":".","_npmVersion":"2.15.9","_nodeVersion":"4.5.0","_npmUser":{"name":"segment-admin","email":"tools+npm@segment.com"},"dist":{"shasum":"0044981b1739161e653099c44e6e9e4ff72e02d2","tarball":"https://registry.npmjs.org/new-date/-/new-date-1.0.1.tgz","integrity":"sha512-qYKT7nwpaSeR23J3Vwzn5lLzXNunM0Uc7XwQZTS+h4QcjhFlcSsCfk0gZqSLJ0fpwtopB1usEteK3WmIy/jQ3A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEy1pzBKB92OAmeG0A3Hw1fg+iYEtnjMoxjicMTZ9czKAiEAouJqcQ6eX0Gl9Ub6BjMaFUH1mHalmYg+XPYVG03FSL0="}]},"maintainers":[{"name":"segment-admin","email":"tools+npm@segment.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/new-date-1.0.1.tgz_1473720205819_0.7975153122097254"},"directories":{}},"1.0.2":{"name":"new-date","description":"Creates a new Date, but accepts a few more input types than normal.","version":"1.0.2","keywords":["new","date","new-date"],"main":"lib/index.js","scripts":{"test":"make test"},"repository":{"type":"git","url":"git+https://github.com/segmentio/new-date.git"},"author":{"name":"Segment","email":"friends@segment.com"},"license":"SEE LICENSE IN LICENSE","bugs":{"url":"https://github.com/segmentio/new-date/issues"},"homepage":"https://github.com/segmentio/new-date#readme","dependencies":{"@segment/isodate":"1.0.2"},"devDependencies":{"jest":"^26.4.2","proclaim":"^3.4.1"},"gitHead":"26d8f58461e16109fbd225fcb5dc4a12d2675090","_id":"new-date@1.0.2","_nodeVersion":"12.22.1","_npmVersion":"6.14.12","dist":{"integrity":"sha512-EjUPw3AGNS2J+jqtbYnzLj5YJXk69KcXnnmly0hGYWKCRWfkBLaqMchS7+or+u+/ibvz3We+bBakYiAfQgsC2A==","shasum":"8d30622e41784667c3627ba4e0a1054bc3231e88","tarball":"https://registry.npmjs.org/new-date/-/new-date-1.0.2.tgz","fileCount":13,"unpackedSize":12909,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgpY7gCRA9TVsSAnZWagAAoRkP/A7o82OeciVchQpy//ON\nyvvSpr3DA2cA539Dp+NnJQvpEWeZsB0uuufixJBAynUjecvq8JxG04wkPT8i\nUn8ZM2hbgVXclsv1/AOIykyzdxO/aryJBl66CIRAoawVrVmMQ7mq0VQ+4qLP\nuIcsy9tyr+c6zkg9we29CbZrm2xupwqGc1xjNJPw2Q3LyTuPW5DkNQZpdVaU\nj2EkFHU+ONJrq0q1Kimc5N9fDaVEYhr3/aX1iaOWI3rBWldv8ZcYwI7UROmQ\nyCQXOebf3mulDdNKGWlgP/Js2NzxICDv1R56ZSBGrn6WiklAoRygMkYFGQ9l\n9tGkwjDJttrfncd64XmOm4Q55lmIg1H02CSK7Z7BN45dmF6AQskZ5RS9RXiT\nZ67WFxmy2MQzOgdcih0++F7gKICpIODCrNPbYT6tfC5rQ8eIChfKIR+S3mhy\nKT8imSuK0Wqd+fzcoqsiiFNOOvF/zcaoKnpgieOWPdE0GYcKBfXnp1yY8Jm5\nDXM+B020xLMf4z9EHBzy0D8poxatK0ZPeYJH7bGFoQ2OWboHCTrNZUw4ZUjP\n46EJ8GgBBe5cL6WImqMf6Pzh4AIqyt88abgUavZgKeruqwRiqnVEDWNspFxT\nrVWhQik+f9gKQ/erHQxMI1RMIWTZQOm0lvVjVmQ2/2hGqQAyMcYSL/M13/b3\ntENV\r\n=rF+R\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDG6qQ1KojvOxLs2d1doG6MaLYigtIAIDPwU5KlSk/2JAiBONdhKMc8j73zo52idxT+TeL0pC9Ir9V2NIbL9OKBXvw=="}]},"_npmUser":{"name":"segment-admin","email":"tools+npm@segment.com"},"directories":{},"maintainers":[{"name":"segment-admin","email":"tools+npm@segment.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/new-date_1.0.2_1621462751889_0.004728840638629217"},"_hasShrinkwrap":false},"1.0.3":{"name":"new-date","description":"Creates a new Date, but accepts a few more input types than normal.","version":"1.0.3","keywords":["new","date","new-date"],"main":"lib/index.js","scripts":{"test":"make test"},"repository":{"type":"git","url":"git+https://github.com/segmentio/new-date.git"},"author":{"name":"Segment","email":"friends@segment.com"},"license":"SEE LICENSE IN LICENSE","bugs":{"url":"https://github.com/segmentio/new-date/issues"},"homepage":"https://github.com/segmentio/new-date#readme","dependencies":{"@segment/isodate":"1.0.3"},"devDependencies":{"jest":"^26.4.2","proclaim":"^3.4.1"},"gitHead":"ccfb9d1f16ec21ab77d44de77d96ebed46720a14","_id":"new-date@1.0.3","_nodeVersion":"12.22.1","_npmVersion":"6.14.12","dist":{"integrity":"sha512-0fsVvQPbo2I18DT2zVHpezmeeNYV2JaJSrseiHLc17GNOxJzUdx5mvSigPu8LtIfZSij5i1wXnXFspEs2CD6hA==","shasum":"a5956086d3f5ed43d0b210d87a10219ccb7a2326","tarball":"https://registry.npmjs.org/new-date/-/new-date-1.0.3.tgz","fileCount":13,"unpackedSize":12828,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgrU7XCRA9TVsSAnZWagAA23EQAI5UDHfDlp+KDTrXyTJy\ngcKY6yBhUm80zEWy+kmeP/WsEGlO7zwYi0tMBvHndEElWbQvP+3vW5n+mNpU\nD+rq/nwgylv8POfJaeVNmCKLm6InSC4WLiCij0yKZZFqvc6F/wmT1iNhGgDA\nvYEvl7hltJXF6KojL+RiB2qQ8S30KhJfHv0Vv8byAPbmADwMcO92SbE5ao+A\nTebbVRyI/qf/rOLz4OH/9zmCIGONsP8lWdz4gri2WCh16YNoMUR+MH8YAN6Y\n33Gj5GtiKSr78X0tZ1tsCZ3qRdB/IS3yJpZVqVP4Vf97VeeBKmZVp2LN4n4H\nATHqETRIkGRgRXT7Uk9QIcESqp2YfJO5qqsjP2m71Mntz3qQbDpJJiVFIXHW\nfAZZ3gh7aXs1tzve9zERrXui/9MdqyygAKMwoMxqrG+/nDFKA8R10aQa0Sxh\nDK4n8CsocquKUG0RrtzBvIVrT8UhxxPQX+s7LMm5yhNRHQ9VmvQpbFkVSGnU\nz11ncbBhRTCrI+pjeL8MF6iZp8AtwEBKbihbvP6F8htI1MdCB5F9Xy0H9enX\n0QuTL9IyXAGs1XM7ICmhivY2ZeEj4JA3wOnEabJcrOKrYaZ9ApW8Dzcij3jJ\nUB4IJj5k7xMlTNQGAJymU25/FaGw9lrCbmzN1nKXZKVokp46qjs3AyhshdA0\nuwux\r\n=5poV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE9gPBixPOSoHSA+BFw1EWHDA8ibUcgvoehdSUpqYWkEAiBjUKAP0gSbnp6XDvTJYgR1zqCYh2Wiv1CZR250TgM6Jg=="}]},"_npmUser":{"name":"segment-admin","email":"tools+npm@segment.com"},"directories":{},"maintainers":[{"name":"segment-admin","email":"tools+npm@segment.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/new-date_1.0.3_1621970646821_0.7440578668940059"},"_hasShrinkwrap":false}},"readme":"# new-date\n\n[![CircleCI](https://circleci.com/gh/segmentio/new-date.svg?style=shield&circle-token=060f74f7f82f891aef44686435bdb632d968fb20)](https://circleci.com/gh/segmentio/new-date)\n[![Codecov](https://img.shields.io/codecov/c/github/segmentio/new-date/master.svg?maxAge=2592000)](https://codecov.io/gh/segmentio/new-date)\n\nCreate a new Date, accepting more input types than normal, like Unix timestamps.\n\n## Installation\n\n```js\n$ npm install new-date\n```\n\n## API\n\n### newDate(Date|String|Number)\n\nReturns a new Date object created from the input. The input can be:\n\n* Date objects\n* [date strings](https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Date/parse)\n* millisecond numbers\n* second numbers\n* millisecond strings\n* second strings\n\n```js\nvar newDate = require('new-date');\n\nnewDate(new Date);\nnewDate('Wed, 09 Aug 1995 00:00:00 GMT');\nnewDate('Aug 9, 1995');\nnewDate('2011-10-10T14:48:00');\nnewDate(1363288923637);\nnewDate(1363288923);\nnewDate('1363288923637');\nnewDate('1363288923');\n```\n","maintainers":[{"name":"segment-admin","email":"tools+npm@segment.com"}],"time":{"modified":"2022-06-21T01:42:35.571Z","created":"2013-06-24T22:11:37.154Z","0.0.2":"2013-06-24T22:11:38.686Z","0.1.0":"2013-06-24T22:33:45.105Z","0.1.1":"2013-06-24T22:36:54.530Z","0.1.2":"2013-09-02T23:00:47.089Z","0.2.0":"2013-10-04T01:11:40.716Z","1.0.0":"2016-05-12T07:03:12.634Z","1.0.1":"2016-09-12T22:43:27.780Z","1.0.2":"2021-05-19T22:19:12.016Z","1.0.3":"2021-05-25T19:24:06.931Z"},"repository":{"type":"git","url":"git+https://github.com/segmentio/new-date.git"},"keywords":["new","date","new-date"],"bugs":{"url":"https://github.com/segmentio/new-date/issues"},"license":"SEE LICENSE IN LICENSE","readmeFilename":"README.md","homepage":"https://github.com/segmentio/new-date#readme","author":{"name":"Segment","email":"friends@segment.com"},"users":{"l_woniu":true}}