diff options
author | Florian Dold <florian.dold@gmail.com> | 2019-03-27 21:01:33 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2019-03-27 21:01:33 +0100 |
commit | cc97a4dd2a967e1c2273bd5f4c5f49a5bf2e2585 (patch) | |
tree | 92c5d88706a6ffc654d1b133618d357890e7096b /node_modules/date-time | |
parent | 3771b4d6b67b34c130f3a9a1a15f42deefdb2eda (diff) |
remove node_modules
Diffstat (limited to 'node_modules/date-time')
-rw-r--r-- | node_modules/date-time/index.js | 4 | ||||
-rw-r--r-- | node_modules/date-time/package.json | 31 | ||||
-rw-r--r-- | node_modules/date-time/readme.md | 39 |
3 files changed, 0 insertions, 74 deletions
diff --git a/node_modules/date-time/index.js b/node_modules/date-time/index.js deleted file mode 100644 index ede2cfe18..000000000 --- a/node_modules/date-time/index.js +++ /dev/null @@ -1,4 +0,0 @@ -'use strict'; -module.exports = function (date) { - return (date || new Date()).toISOString().replace(/T/, ' ').replace(/\..+/, ' UTC'); -}; diff --git a/node_modules/date-time/package.json b/node_modules/date-time/package.json deleted file mode 100644 index cbaf984d6..000000000 --- a/node_modules/date-time/package.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "name": "date-time", - "version": "0.1.1", - "description": "Pretty UTC datetime: 2014-01-09 06:46:01 UTC", - "license": "MIT", - "repository": "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": "*" - } -} diff --git a/node_modules/date-time/readme.md b/node_modules/date-time/readme.md deleted file mode 100644 index 9c5b87b11..000000000 --- a/node_modules/date-time/readme.md +++ /dev/null @@ -1,39 +0,0 @@ -# date-time [](http://travis-ci.org/sindresorhus/date-time) - -> Pretty UTC datetime: `2014-01-09 06:46:01 UTC` - - -## Install - -Install with [npm](https://npmjs.org/package/date-time) - -``` -npm install --save date-time -``` - - -## Example - -```js -var dateTime = require('date-time'); - -dateTime(); -//=> 2014-01-09 06:46:01 UTC - -dateTime(new Date(2050, 1, 2)); -//=> 2050-02-01 23:00:00 UTC -``` - -## API - -### dateTime(date) - -#### date - -Type: `Date` -Default: `new Date()` - - -## License - -MIT © [Sindre Sorhus](http://sindresorhus.com) |