Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

date.format

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

date.format - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

index.js

8

package.json
{
"name": "date.format",
"description": "JS Date format => date.format('Today {Y}/{M}/{D} at {h}:{m}:{s}h and {ms}ms');",
"version": "1.0.1",
"version": "1.0.2",
"author": {

@@ -22,3 +22,3 @@ "name": "Javier Gallego Martín",

"url": "https://github.com/bifuer/date.format/issues",
"email" : "bifuer@gmail.com"
"email" : "cheloq@gmail.com"
},

@@ -40,3 +40,3 @@ "keywords": [

},
"main": "./format.js",
"main": "./index.js",
"scripts":{

@@ -49,3 +49,3 @@ "test": "mocha test/"

"README.md",
"format.js"
"index.js"
],

@@ -52,0 +52,0 @@ "readmeFilename": "README.md",

@@ -6,3 +6,3 @@ # Date.format

Add to [Date.prototype de JS](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) `.format()` method, allow format the object date in a readable form.
Add to [JS Date.prototype](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) `.format()` method, allow format the object date in a readable form.
Call to method with the pattern you want and will return it formated.

@@ -9,0 +9,0 @@ [npm](https://www.npmjs.com/package/date.format)

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc