{"_id":"datef","_rev":"29-26952c36eba8b08203b3ba64878e724a","name":"datef","description":"Simple date formatting library with i10n, both for browser and node.js","dist-tags":{"latest":"3.0.0"},"versions":{"0.0.1":{"name":"datef","version":"0.0.1","description":"Simple date formatting library with i10n, both for browser and node.js","main":"datef.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/maxvipon/datef.git"},"keywords":["moment","date","time","format","l10n"],"author":{"name":"Konstantin Kitmanov","email":"doctor.hogart@gmail.com"},"contributors":[{"name":"Maxim Ponomarev","email":"maxvipon@gmail.com"}],"license":"MIT","bugs":{"url":"https://github.com/maxvipon/datef/issues"},"_id":"datef@0.0.1","dist":{"shasum":"c9fc8b93f22a3c265b78837256bee207c6e8c590","tarball":"https://registry.npmjs.org/datef/-/datef-0.0.1.tgz","integrity":"sha512-tPQrqm4y15Vjt79+4O70lSXWBHl8a8IOvantMDaHsFgZDupGifKLK6jRdrxMg6tGjJYqML6mBTK5WQMN9YfB8A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIESUxlBo3X1Cnw1NzXXH+EMKhm9LadPHhlw1aPWheDDnAiEAkiaAt4G0Mc8ZK7/L2DEDBo7x71/GhGSnv8je1+kQTgc="}]},"_from":".","_npmVersion":"1.2.32","_npmUser":{"name":"maxvipon","email":"maxvipon@gmail.com"},"maintainers":[{"name":"maxvipon","email":"maxvipon@gmail.com"}]},"0.0.2":{"name":"datef","version":"0.0.2","description":"Simple date formatting library with i10n, both for browser and node.js","main":"datef.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/maxvipon/datef.git"},"keywords":["moment","date","time","format","l10n"],"author":{"name":"Konstantin Kitmanov","email":"doctor.hogart@gmail.com"},"contributors":[{"name":"Maxim Ponomarev","email":"maxvipon@gmail.com"}],"license":"MIT","bugs":{"url":"https://github.com/maxvipon/datef/issues"},"_id":"datef@0.0.2","dist":{"shasum":"f27346178d2e561dbcf7ff0abcdc59cac73ee684","tarball":"https://registry.npmjs.org/datef/-/datef-0.0.2.tgz","integrity":"sha512-2nQ4VYBmd5ePyqKmVzB6Zg3Yj36cTPOo8Vf+5lRTC7olSu2ZQtvkCkVltP7s5BlPlhVt/669aofP5azJNUzpUQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHZOLlpy0AQXllkrJZB4V5+2skS6KumjrW7NOuSi7XYZAiBHpROLf4NfK3dqFmZz1jBafrdYB+j1+vw7eD2JSW6zvA=="}]},"_from":".","_npmVersion":"1.2.32","_npmUser":{"name":"maxvipon","email":"maxvipon@gmail.com"},"maintainers":[{"name":"maxvipon","email":"maxvipon@gmail.com"}]},"0.0.3":{"name":"datef","version":"0.0.3","description":"Simple date formatting library with i10n, both for browser and node.js","main":"datef.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/maxvipon/datef.git"},"keywords":["moment","date","time","format","l10n"],"author":{"name":"Konstantin Kitmanov","email":"doctor.hogart@gmail.com"},"contributors":[{"name":"Maxim Ponomarev","email":"maxvipon@gmail.com"}],"license":"MIT","bugs":{"url":"https://github.com/maxvipon/datef/issues"},"_id":"datef@0.0.3","dist":{"shasum":"fba45be7631cb1217a3d1f2f8cf8c94e8a83b200","tarball":"https://registry.npmjs.org/datef/-/datef-0.0.3.tgz","integrity":"sha512-vR3cFDYSEjZFyojGQ+LTBq1ObGO5QETg+Umdr2xAyJ08Z55tjcwNaxFGBLjJdOtnMe7UWIYqLaIw2fvY+4Ypew==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCO+Nk9oTE2nBDmc8K6NEfk42jkhy6r7+5Xy4GBPfIJpwIgHYkGe7MptLxR1e/dhhpOQWPVBOtIKw4IHciKnypd5AM="}]},"_from":".","_npmVersion":"1.2.32","_npmUser":{"name":"maxvipon","email":"maxvipon@gmail.com"},"maintainers":[{"name":"maxvipon","email":"maxvipon@gmail.com"}]},"0.0.4":{"name":"datef","version":"0.0.4","description":"Simple date formatting library with i10n, both for browser and node.js","main":"datef.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/maxvipon/datef.git"},"keywords":["moment","date","time","format","l10n"],"author":{"name":"Konstantin Kitmanov","email":"doctor.hogart@gmail.com"},"contributors":[{"name":"Maxim Ponomarev","email":"maxvipon@gmail.com"}],"license":"MIT","bugs":{"url":"https://github.com/maxvipon/datef/issues"},"_id":"datef@0.0.4","dist":{"shasum":"72aa940df6121ea45e477f8d08d168dcab6b6e61","tarball":"https://registry.npmjs.org/datef/-/datef-0.0.4.tgz","integrity":"sha512-NTczu6VonEQVJLwED/1XrwP5KdxNsi+nBBKim7XNNApA/s0NzHnT7IiFwEgJ+ebTzSCfCR0iO6lS66k5orKCyw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDxfSGnAK7xrm78Wh9/ziTOyXfeZEO+tf3czYnBtOrUIQIhAM6Xwn7aZKsjQtr839HHeDSFiUqux5wEUm4MOzqjc4Q4"}]},"_from":".","_npmVersion":"1.2.32","_npmUser":{"name":"maxvipon","email":"maxvipon@gmail.com"},"maintainers":[{"name":"maxvipon","email":"maxvipon@gmail.com"}]},"0.0.5":{"name":"datef","version":"0.0.5","description":"Simple date formatting library with i10n, both for browser and node.js","author":{"name":"Konstantin Kitmanov","email":"doctor.hogart@gmail.com"},"contributors":[{"name":"Maxim Ponomarev","email":"maxvipon@gmail.com"}],"repository":{"type":"git","url":"https://github.com/maxvipon/datef.git"},"bugs":{"url":"https://github.com/maxvipon/datef/issues"},"keywords":["moment","date","time","format","l10n"],"license":"MIT","main":"datef.js","devDependencies":{"mocha":"1.x","chai":"1.x","istanbul":"0.2.x","jshint":"2.x","jscs":"1.4.x"},"scripts":{"test":"npm run-script jshint && npm run-script check-style && npm run-script unit-test-coverage","jshint":"jshint .","unit-test":"mocha -u bdd -R spec --recursive test","unit-test-coverage":"istanbul cover ./node_modules/mocha/bin/_mocha -- -u bdd -R spec --recursive test","check-style":"./node_modules/jscs/bin/jscs ."},"gitHead":"919246b3b9e937845839f21a7167b4f281251788","homepage":"https://github.com/maxvipon/datef","_id":"datef@0.0.5","_shasum":"3348eab64160d0b6ab2a595db3ab3a0345d24ed1","_from":".","_npmVersion":"1.5.0-alpha-1","_npmUser":{"name":"maxvipon","email":"maxvipon@gmail.com"},"maintainers":[{"name":"maxvipon","email":"maxvipon@gmail.com"}],"dist":{"shasum":"3348eab64160d0b6ab2a595db3ab3a0345d24ed1","tarball":"https://registry.npmjs.org/datef/-/datef-0.0.5.tgz","integrity":"sha512-1lpKzrokq+nJwKyolhGZNuPCOAjHqzI8zFb5rz1kMDNJ9Tgt0731PVPQ7Uto5M5GAp5eBM4Sc2mftilM4L00lg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD7dBWOkPZ27Hj/ONNkNLUvfdYzO7UL2Tk67cGNQWuy4AIhAOCgvUDVY4ofWcWb9s+it/l/kUxPOcHFjv9XYOcgVR3Q"}]}},"0.0.7":{"name":"datef","version":"0.0.7","description":"Simple date formatting library with i10n, both for browser and node.js","author":{"name":"Konstantin Kitmanov","email":"doctor.hogart@gmail.com"},"contributors":[{"name":"Maxim Ponomarev","email":"maxvipon@gmail.com"}],"repository":{"type":"git","url":"https://github.com/maxvipon/datef.git"},"bugs":{"url":"https://github.com/maxvipon/datef/issues"},"keywords":["moment","date","time","format","l10n"],"license":"MIT","main":"datef.js","devDependencies":{"mocha":"1.x","chai":"1.x","istanbul":"0.2.x","jshint":"2.x","jscs":"1.4.x"},"scripts":{"test":"npm run-script jshint && npm run-script check-style && npm run-script unit-test-coverage","jshint":"jshint .","unit-test":"mocha -u bdd -R spec --recursive test","unit-test-coverage":"istanbul cover ./node_modules/mocha/bin/_mocha -- -u bdd -R spec --recursive test","check-style":"./node_modules/jscs/bin/jscs ."},"gitHead":"554c4ef457768ec9278fab494ed711d32ad58484","homepage":"https://github.com/maxvipon/datef","_id":"datef@0.0.7","_shasum":"ddc82d6b63e27f6a4afadce8847a79062ff82e70","_from":".","_npmVersion":"2.1.8","_nodeVersion":"0.10.33","_npmUser":{"name":"maxvipon","email":"maxvipon@gmail.com"},"maintainers":[{"name":"maxvipon","email":"maxvipon@gmail.com"}],"dist":{"shasum":"ddc82d6b63e27f6a4afadce8847a79062ff82e70","tarball":"https://registry.npmjs.org/datef/-/datef-0.0.7.tgz","integrity":"sha512-KerZPBZC5ACcT0ETb0hbkbW5fRaRKdVNgi7lEegUH4/rje1gRpwsYo+MbRcYoai0IZe1bUCItIiT+y2bKlz7gw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDn3Ce7NvGHznsm8FUwAV4+M95v6sA3STrnrxZhDE4I3gIgS+A/KjkiJIyQqywMQPxrgGkDiPdLjj2qsUAI9pcR1Ls="}]}},"1.0.0":{"name":"datef","version":"1.0.0","description":"Simple date formatting library with i10n, both for browser and node.js","author":{"name":"Konstantin Kitmanov","email":"doctor.hogart@gmail.com"},"contributors":[{"name":"Maxim Ponomarev","email":"maxvipon@gmail.com"}],"repository":{"type":"git","url":"https://github.com/maxvipon/datef.git"},"bugs":{"url":"https://github.com/maxvipon/datef/issues"},"keywords":["moment","date","time","format","l10n"],"license":"MIT","main":"datef.js","devDependencies":{"mocha":"1.x","chai":"1.x","istanbul":"0.2.x","jshint":"2.x","jscs":"1.4.x"},"scripts":{"test":"npm run-script jshint && npm run-script check-style && npm run-script unit-test-coverage","jshint":"jshint .","unit-test":"mocha -u bdd -R spec --recursive test","unit-test-coverage":"istanbul cover ./node_modules/mocha/bin/_mocha -- -u bdd -R spec --recursive test","check-style":"./node_modules/jscs/bin/jscs ."},"gitHead":"978d5c1b9c39ca72ca1a3b9e6948e4319c185d9a","homepage":"https://github.com/maxvipon/datef","_id":"datef@1.0.0","_shasum":"52681db20c1a882b0c1e371c959f78a2cb959e8f","_from":".","_npmVersion":"2.1.8","_nodeVersion":"0.10.33","_npmUser":{"name":"maxvipon","email":"maxvipon@gmail.com"},"maintainers":[{"name":"maxvipon","email":"maxvipon@gmail.com"}],"dist":{"shasum":"52681db20c1a882b0c1e371c959f78a2cb959e8f","tarball":"https://registry.npmjs.org/datef/-/datef-1.0.0.tgz","integrity":"sha512-DjrWMYSlRm46LsnRsVP6dAsA7+WSBhLKgt5wvf1htin57QIrqEeUI0DAYBjtI2tYTYSbz38ZVBn1NSZW6oi9fQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCUq74znpt88zadSGR74rOFe7H7sVjZ0fX4AuZ87PfpCAIgZIO/Vq5gxji1nJvsybXEWHmgutyGrFqoLa08GBsCmjQ="}]}},"1.0.1":{"name":"datef","version":"1.0.1","description":"Simple date formatting library with i10n, both for browser and node.js","author":{"name":"Konstantin Kitmanov","email":"doctor.hogart@gmail.com"},"contributors":[{"name":"Maxim Ponomarev","email":"maxvipon@gmail.com"}],"repository":{"type":"git","url":"https://github.com/maxvipon/datef.git"},"bugs":{"url":"https://github.com/maxvipon/datef/issues"},"keywords":["moment","date","time","format","l10n"],"license":"MIT","main":"datef.js","devDependencies":{"mocha":"1.x","chai":"1.x","istanbul":"0.2.x","jshint":"2.x","jscs":"1.4.x"},"scripts":{"test":"npm run-script jshint && npm run-script check-style && npm run-script unit-test-coverage","jshint":"jshint .","unit-test":"mocha -u bdd -R spec --recursive test","unit-test-coverage":"istanbul cover ./node_modules/mocha/bin/_mocha -- -u bdd -R spec --recursive test","check-style":"./node_modules/jscs/bin/jscs ."},"gitHead":"79ddfd0e8f91d193b46fd9acf2c3e6fefd297f5f","homepage":"https://github.com/maxvipon/datef","_id":"datef@1.0.1","_shasum":"9e3073aab62bb951df799929a11e322fe5df4ff6","_from":".","_npmVersion":"2.1.8","_nodeVersion":"0.10.33","_npmUser":{"name":"maxvipon","email":"maxvipon@gmail.com"},"maintainers":[{"name":"maxvipon","email":"maxvipon@gmail.com"}],"dist":{"shasum":"9e3073aab62bb951df799929a11e322fe5df4ff6","tarball":"https://registry.npmjs.org/datef/-/datef-1.0.1.tgz","integrity":"sha512-7JiRXm6mOi/SQb6Nc2xuaQK6REojYTOnOI7xjXAZQt/JoXzbCtZqiLegvSGp0WCuO/MBfc/2x2ChAOM0RJ1vaA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG4c4O6575JRyQ8GI147bsIJpw/8Rd6ZTbAgqEOpWZ60AiAUr7r6brhR8tL/S5Jm3aeWjxXAqdFURJFZ/U5PWQUDLQ=="}]}},"1.0.2":{"name":"datef","version":"1.0.2","description":"Simple date formatting library with i10n, both for browser and node.js","author":{"name":"Konstantin Kitmanov","email":"doctor.hogart@gmail.com"},"contributors":[{"name":"Maxim Ponomarev","email":"maxvipon@gmail.com"}],"repository":{"type":"git","url":"https://github.com/maxvipon/datef.git"},"bugs":{"url":"https://github.com/maxvipon/datef/issues"},"keywords":["moment","date","time","format","l10n"],"license":"MIT","main":"datef.js","devDependencies":{"mocha":"1.x","chai":"1.x","istanbul":"0.2.x","jshint":"2.x","jscs":"1.4.x"},"scripts":{"test":"npm run-script jshint && npm run-script check-style && npm run-script unit-test-coverage","jshint":"jshint .","unit-test":"mocha -u bdd -R spec --recursive test","unit-test-coverage":"istanbul cover ./node_modules/mocha/bin/_mocha -- -u bdd -R spec --recursive test","check-style":"./node_modules/jscs/bin/jscs ."},"gitHead":"999caffd61f9a4125dcb24045f8c40624707621a","homepage":"https://github.com/maxvipon/datef","_id":"datef@1.0.2","_shasum":"fc91ab1bf72872b717152a6427788172526e684f","_from":".","_npmVersion":"2.1.8","_nodeVersion":"0.10.33","_npmUser":{"name":"maxvipon","email":"maxvipon@gmail.com"},"maintainers":[{"name":"maxvipon","email":"maxvipon@gmail.com"}],"dist":{"shasum":"fc91ab1bf72872b717152a6427788172526e684f","tarball":"https://registry.npmjs.org/datef/-/datef-1.0.2.tgz","integrity":"sha512-LsQn0fa6xbOXl98yNmNZZJRmOScSVI3dyUvENjgoyv5p2Lx2Pl3VxsFdLGmy1vl11HtNy6ByGvRO3jLGCfZUJA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDj+rdLZA7i4bA2wEcl3so8FKzB46fZwUqdbPY+wnzrGAIhAM52PF48WXu3CGPZ0k56mX780jTOBF4iAgOqrv7Bg+70"}]}},"1.0.3":{"name":"datef","version":"1.0.3","description":"Simple date formatting library with i10n, both for browser and node.js","author":{"name":"Konstantin Kitmanov","email":"doctor.hogart@gmail.com"},"contributors":[{"name":"Maxim Ponomarev","email":"maxvipon@gmail.com"}],"repository":{"type":"git","url":"https://github.com/maxvipon/datef.git"},"bugs":{"url":"https://github.com/maxvipon/datef/issues"},"keywords":["moment","date","time","format","l10n"],"license":"MIT","main":"datef.js","devDependencies":{"mocha":"1.x","chai":"1.x","istanbul":"0.2.x","jshint":"2.x","jscs":"1.4.x"},"scripts":{"test":"npm run-script jshint && npm run-script check-style && npm run-script unit-test-coverage","jshint":"jshint .","unit-test":"mocha -u bdd -R spec --recursive test","unit-test-coverage":"istanbul cover ./node_modules/mocha/bin/_mocha -- -u bdd -R spec --recursive test","check-style":"./node_modules/jscs/bin/jscs ."},"gitHead":"2e5b74879940edcb81d84031c326607cb030bd39","homepage":"https://github.com/maxvipon/datef","_id":"datef@1.0.3","_shasum":"7740a0327dd3beeb19a19eeeee1fca3898e8a901","_from":".","_npmVersion":"2.1.8","_nodeVersion":"0.10.33","_npmUser":{"name":"maxvipon","email":"maxvipon@gmail.com"},"maintainers":[{"name":"maxvipon","email":"maxvipon@gmail.com"}],"dist":{"shasum":"7740a0327dd3beeb19a19eeeee1fca3898e8a901","tarball":"https://registry.npmjs.org/datef/-/datef-1.0.3.tgz","integrity":"sha512-QlomSeI0RTI9A0xXYqVleyyQBlmmpNBCjKi0UgLZlgYHRUMIB5wpHhlRsdMq68ha8FxG5VC58mWtz8zHTF8jrw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICDl6EDv+EXTjfn96NyZ843F5sDMPWyK+URYQ/7g848+AiEA+IMJw34xAZawFkMwyAFG8BxYLb9Non/qsHNoCgQWpv8="}]}},"2.0.0":{"name":"datef","version":"2.0.0","description":"Simple date formatting library with i10n, both for browser and node.js","author":{"name":"Konstantin Kitmanov","email":"doctor.hogart@gmail.com"},"contributors":[{"name":"Maxim Ponomarev","email":"maxvipon@gmail.com"}],"repository":{"type":"git","url":"https://github.com/maxvipon/datef.git"},"bugs":{"url":"https://github.com/maxvipon/datef/issues"},"keywords":["moment","date","time","format","l10n"],"license":"MIT","main":"datef.js","devDependencies":{"mocha":"1.x","chai":"1.x","istanbul":"0.2.x","jshint":"2.x","jscs":"1.4.x"},"scripts":{"test":"npm run-script jshint && npm run-script check-style && npm run-script unit-test-coverage","jshint":"jshint .","unit-test":"mocha -u bdd -R spec --recursive test","unit-test-coverage":"istanbul cover ./node_modules/mocha/bin/_mocha -- -u bdd -R spec --recursive test","check-style":"./node_modules/jscs/bin/jscs ."},"gitHead":"2bd88283610771f51aaab57b7d0e162927516a2b","homepage":"https://github.com/maxvipon/datef","_id":"datef@2.0.0","_shasum":"aee4638bc1faceb6fe27c2848e6bbe40d35b78ab","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"maxvipon","email":"maxvipon@gmail.com"},"maintainers":[{"name":"maxvipon","email":"maxvipon@gmail.com"}],"dist":{"shasum":"aee4638bc1faceb6fe27c2848e6bbe40d35b78ab","tarball":"https://registry.npmjs.org/datef/-/datef-2.0.0.tgz","integrity":"sha512-DaFDYFf9FA2ZT7TCMYZiPJ9LnxPnoEcn/Xgec+stFX5swpEYM6kSFBgv2MNPl1m+OCEuqAF/rNpGkGjCn7aGeQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB6sf8cBhcgepNfNc23DquNPc8Rq4Eo1YF2m7pw9ucVsAiEA/OM6Z3SkVuDiRy13WspDnpw2tLbRhw2KPmniOzzFlRM="}]}},"3.0.0":{"name":"datef","version":"3.0.0","description":"Simple date formatting library with i10n, both for browser and node.js","author":{"name":"Konstantin Kitmanov","email":"doctor.hogart@gmail.com"},"contributors":[{"name":"Maxim Ponomarev","email":"maxvipon@gmail.com"}],"repository":{"type":"git","url":"git+https://github.com/maxvipon/datef.git"},"bugs":{"url":"https://github.com/maxvipon/datef/issues"},"keywords":["moment","date","time","format","l10n"],"license":"MIT","main":"datef.js","devDependencies":{"mocha":"1.x","chai":"1.x","istanbul":"0.2.x","jshint":"2.x","jscs":"1.4.x"},"scripts":{"test":"npm run-script jshint && npm run-script check-style && npm run-script unit-test-coverage","jshint":"jshint .","unit-test":"mocha -u bdd -R spec --recursive test","unit-test-coverage":"istanbul cover ./node_modules/mocha/bin/_mocha -- -u bdd -R spec --recursive test","check-style":"./node_modules/jscs/bin/jscs ."},"gitHead":"2e2cb61df643ffc8fd2a01adc4be07f1c95fbbcd","homepage":"https://github.com/maxvipon/datef#readme","_id":"datef@3.0.0","_shasum":"a5a3bace3dda833dc34fee38af2f3db52fca0bbf","_from":".","_npmVersion":"2.14.6","_nodeVersion":"4.1.2","_npmUser":{"name":"maxvipon","email":"maxvipon@gmail.com"},"maintainers":[{"name":"maxvipon","email":"maxvipon@gmail.com"}],"dist":{"shasum":"a5a3bace3dda833dc34fee38af2f3db52fca0bbf","tarball":"https://registry.npmjs.org/datef/-/datef-3.0.0.tgz","integrity":"sha512-WLLKBj646jqTEQPa2e4VQDWct8BoTyEL7vSSEK/sDxVWX8yXuUal6W6DfflQX3tFSFoorKYCcqa2etD3m/HTzA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHRpbAasYJlz6041lC9CZSEv5OLSyIoa/TkiAJo8aVPTAiEArCFUWBFJyg51fyu2OZnipV74HjsVCD+84tLALmvvYe4="}]}}},"readme":"# datef [![NPM version](https://badge.fury.io/js/datef.svg)](http://badge.fury.io/js/datef) [![Build Status](https://travis-ci.org/maxvipon/datef.svg)](https://travis-ci.org/maxvipon/datef) [![Coverage Status](https://coveralls.io/repos/maxvipon/datef/badge.png)](https://coveralls.io/r/maxvipon/datef)\n\n**datef** is a Javascript date formatting library, both for browser and node.js.\n\n## Features\n\n* Can output: year, full year, month, day, hour, minutes, seconds, milliseconds and timezone — both zero padded and not\n* Simple localization\n* Built-in formats and easyly extensible\n* Doesn't mess with built-in prototypes\n* Acts as node.js and requirejs/amd module, and have `.noConflict` method in case no module system is present (e.g. plain browser environment)\n* No external dependencies\n* Contains predefined formats for some ISO8601 date and time representation\n* Thoroughly annotated with jsdoc, so if your IDE/editor supports it, you may never need interrupt yourself from code\n\n## Usage\n\n**Node.js**\n```bash\nnpm install datef\n```\n```js\nvar datef = require('datef');\ndatef('MM.YYYY');\n```\n\n**Require.js**\n```js\nrequire.config({\n    paths: {\n        'datef': 'path/to/datef'\n    }\n})\nrequire(['datef'], function(datef){\n    datef('MM.YYYY');\n});\n```\n\n**Browser**\n```html\n<script src=\"datef.js\"></script>\n<script>\n    datef('MM.YYYY');\n</script>\n```\n\n### Basic usage\n\n```js\ndatef('dd.MM.YY', new Date()); // \"13.08.13\"\ndatef('dd.MM.YY'); // second argument is optional; datef takes Date.now() if no date is provided\n\nvar d = new Date();\nd.setFullYear(2045);\ndatef('dd.MM.YYYY', d); // \"13.08.2045\"\n```\n\n### Languages\n\n**Node.js**\n```js\ndatef.lang('ru');\ndatef('dd MMMM'); // 13 августа\n```\n\n**Require.js**\n```js\nrequire.config({\n    paths: {\n        'datef': 'path/to/datef',\n        'datef_ru': 'path/to/datef_lang/ru'\n    }\n})\n\nrequire(['datef', 'datef_ru'], function(datef){\n    datef.lang('ru');\n    datef('dd MMMM'); // 13 августа\n});\n```\n\n**Browser**\n```html\n<script src=\"datef.js\"></script>\n<script src=\"lang/ru.js\"></script>\n<script>\n    datef.lang('ru');\n    datef('dd MMMM'); // 13 августа\n</script>\n```\n\n### Custom formatters\n```js\n// predefined formats\ndatef.formatters(); // ['ISODate','ISOTime','ISODateTime','ISODateTimeTZ']\ndatef('ISODateTimeTZ', d); // \"2013-08-13T15:01:29 -04:00\"\n\n// defining your own simple format\ndatef.register('myFormat', 'd.M.YY');\ndatef('myFormat', d); // \"13.8.13\"\n\n// defining your own format with i10n\ndatef.register('myI10nFormat', {\n    'en': 'MMMM dd, DD',\n    'ru': 'DD, dd MMMM',\n    'default': 'dd MMMM'\n});\ndatef('myI10nFormat', d); // \"August 13, Tuesday\"\ndatef.lang('ru');\ndatef('myI10nFormat', d); // \"Вторник, 13 августа\"\ndatef.lang('uk');\ndatef('myI10nFormat', d); // \"13 жніўня\"\n```\n\n### Cleaning global namespace\n\nThis is similar to [`Backbone.noConflict()`](http://backbonejs.org/#Utility-noConflict)\n\n```html\n<script>var datef = 'My very important data';</script>\n…\n<script src=\"datef.js\"></script>\n\n<script>\nconsole.log(typeof datef); // \"function\"\nvar formattingLib = datef.noConflict();\nconsole.log(datef); // 'My very important data'\n</script>\n```\n\n## Tokens\n\nFull list of tokens possible in format string include:\n\n* **YYYY**: 4-digit year\n* **YY**: last 2 digit of year\n* **MMMM**: full name of month\n* **MMM**: short name of month\n* **MM**: ISO8601-compatible number of month (i.e. zero-padded) in year (with January being 1st month)\n* **M**: number of month in year without zero-padding (with January being 1st month)\n* **DDD**: full name of day\n* **DD**: short name of day\n* **D**: min name of day\n* **dd**: zero-padded number of day in month\n* **d**: number of day in month\n* **HH**: zero-padded 24 hour time\n* **H**: 24 hour time\n* **hh**: zero-padded 12 hour time\n* **h**: 12 hour time\n* **mm**: zero-padded minutes\n* **m**: minutes\n* **ss**: zero-padded seconds\n* **s**: seconds\n* **ff**: zero-padded milliseconds, 3 digits\n* **f**: milliseconds\n* **A**: AM/PM\n* **a**: am/pm\n* **ZZ**: time-zone in ISO8601-compatible basic format (i.e. \"-0400\")\n* **Z**: time-zone in ISO8601-compatible extended format (i.e. \"-04:00\")\n","maintainers":[{"name":"maxvipon","email":"maxvipon@gmail.com"}],"time":{"modified":"2022-06-14T20:13:36.272Z","created":"2013-11-11T20:10:20.531Z","0.0.1":"2013-11-11T20:10:22.360Z","0.0.2":"2013-11-11T21:05:45.659Z","0.0.3":"2013-11-11T21:18:35.954Z","0.0.4":"2013-11-11T22:22:52.992Z","0.0.5":"2014-11-17T11:17:19.996Z","0.0.7":"2014-12-03T10:03:20.312Z","1.0.0":"2014-12-05T06:17:25.692Z","1.0.1":"2014-12-05T06:36:48.199Z","1.0.2":"2014-12-15T09:24:45.957Z","1.0.3":"2014-12-15T09:29:30.588Z","2.0.0":"2015-05-01T18:59:29.492Z","2.1.0":"2015-10-28T09:25:46.594Z","3.0.0":"2015-10-28T09:40:40.533Z"},"author":{"name":"Konstantin Kitmanov","email":"doctor.hogart@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/maxvipon/datef.git"},"keywords":["moment","date","time","format","l10n"],"contributors":[{"name":"Maxim Ponomarev","email":"maxvipon@gmail.com"}],"bugs":{"url":"https://github.com/maxvipon/datef/issues"},"license":"MIT","readmeFilename":"README.md","users":{"hogart":true},"homepage":"https://github.com/maxvipon/datef#readme"}