{"name":"date-time","version":"0.1.1","description":"Pretty UTC datetime: 2014-01-09 06:46:01 UTC","license":"MIT","repository":{"type":"git","url":"git://github.com/sindresorhus/date-time"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"http://sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"files":["index.js"],"keywords":["datetime","date-time","date","utc","iso"],"devDependencies":{"mocha":"*"},"bugs":{"url":"https://github.com/sindresorhus/date-time/issues"},"homepage":"https://github.com/sindresorhus/date-time","_id":"date-time@0.1.1","dist":{"shasum":"ed2f6d93d9790ce2fd66d5b5ff3edd5bbcbf3b07","tarball":"http://registry-npm.ywwl.com/date-time/download/date-time-0.1.1.tgz","integrity":"sha512-p4psdkgdNA6x0600SKbfWiOomNb33ADBMRHf49GMhYVgJsPefZlMSLXXVWWUpbqSxB3DL5/cxKa6a8i3XPK5Xg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGZBhf8c95+uUSD3AAH0Uf061oZD/+E0G+i3rUU6juYMAiEA33iE7kM/C2YEm0b9feS4NSxFqEiSjqNZKKWYFD0MPDU="}],"size":803,"noattachment":false,"key":"/date-time/-/date-time-0.1.1.tgz"},"_from":".","_npmVersion":"1.3.23","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{},"readme":"# date-time\n\n> Pretty datetime: `2014-01-09 06:46:01`\n\n## Install\n\n```\n$ npm install date-time\n```\n\n## Usage\n\n```js\nimport dateTime from 'date-time';\n\ndateTime();\n//=> '2017-05-20 17:07:05'\n\ndateTime({date: new Date(1989, 2, 4, 10)});\n//=> '1989-03-04 09:00:00'\n\ndateTime({showTimeZone: true});\n//=> '2017-05-20 17:07:05 UTC+7'\n\ndateTime({local: false});\n//=> '2017-05-20 10:07:05'\n\ndateTime({local: false, showTimeZone: true});\n//=> '2017-05-20 10:07:05 UTC'\n\ndateTime({showMilliseconds: true});\n//=> '2017-05-20 17:07:05 6ms'\n```\n\n## API\n\n### dateTime(options?)\n\n### options\n\nType: `object`\n\n#### date\n\nType: `Date`\\\nDefault: `new Date()`\n\nCustom date.\n\n#### local\n\nType: `boolean`\\\nDefault: `true`\n\nShow the date in the local time zone.\n\n#### showTimeZone\n\nType: `boolean`\\\nDefault: `false`\n\nShow the UTC time zone postfix.\n\n#### showMilliseconds\n\nType: `boolean`\\\nDefault: `false`\n\nShow the milliseconds in the date if any.\n","publish_time":1389286824110,"_cnpm_publish_time":1389286824110,"dist-tags":{"latest":"4.0.0"}}