{
  "name": "dateformat",
  "description": "A node.js package for Steven Levithan's excellent dateFormat() function.",
  "maintainers": "Felix Geisendörfer <felix@debuggable.com>",
  "homepage": "https://github.com/felixge/node-dateformat",
  "author": {
    "name": "Steven Levithan"
  },
  "version": "1.0.2-1.2.3",
  "main": "./lib/dateformat",
  "dependencies": {},
  "devDependencies": {},
  "engines": {
    "node": "*"
  },
  "readme": "# node-dateformat\n\nA node.js package for Steven Levithan's excellent [dateFormat()][dateformat] function.\n\n## Modifications\n\n* Removed the `Date.prototype.format` method. Sorry folks, but extending native prototypes is for suckers.\n* Added a `module.exports = dateFormat;` statement at the bottom\n\n## Usage\n\nAs taken from Steven's post, modified to match the Modifications listed above:\n\n    var dateFormat = require('dateformat');\n    var now = new Date();\n\n    // Basic usage\n    dateFormat(now, \"dddd, mmmm dS, yyyy, h:MM:ss TT\");\n    // Saturday, June 9th, 2007, 5:46:21 PM\n\n    // You can use one of several named masks\n    dateFormat(now, \"isoDateTime\");\n    // 2007-06-09T17:46:21\n\n    // ...Or add your own\n    dateFormat.masks.hammerTime = 'HH:MM! \"Can\\'t touch this!\"';\n    dateFormat(now, \"hammerTime\");\n    // 17:46! Can't touch this!\n\n    // When using the standalone dateFormat function,\n    // you can also provide the date as a string\n    dateFormat(\"Jun 9 2007\", \"fullDate\");\n    // Saturday, June 9, 2007\n\n    // Note that if you don't include the mask argument,\n    // dateFormat.masks.default is used\n    dateFormat(now);\n    // Sat Jun 09 2007 17:46:21\n\n    // And if you don't include the date argument,\n    // the current date and time is used\n    dateFormat();\n    // Sat Jun 09 2007 17:46:22\n\n    // You can also skip the date argument (as long as your mask doesn't\n    // contain any numbers), in which case the current date/time is used\n    dateFormat(\"longTime\");\n    // 5:46:22 PM EST\n\n    // And finally, you can convert local time to UTC time. Simply pass in\n    // true as an additional argument (no argument skipping allowed in this case):\n    dateFormat(now, \"longTime\", true);\n    // 10:46:21 PM UTC\n\n    // ...Or add the prefix \"UTC:\" to your mask.\n    dateFormat(now, \"UTC:h:MM:ss TT Z\");\n    // 10:46:21 PM UTC\n\n    // You can also get the ISO 8601 week of the year:\n    dateFormat(now, \"W\");\n    // 42\n## License\n\n(c) 2007-2009 Steven Levithan [stevenlevithan.com][stevenlevithan], MIT license.\n\n[dateformat]: http://blog.stevenlevithan.com/archives/date-time-format\n[stevenlevithan]: http://stevenlevithan.com/\n",
  "readmeFilename": "Readme.md",
  "_id": "dateformat@1.0.2-1.2.3",
  "dist": {
    "shasum": "f1493fc7772934635a50c3f39f210fd7476b91f1"
  },
  "_from": "dateformat@1.0.2-1.2.3"
}
