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

@date-io/date-fns

Package Overview
Dependencies
Maintainers
1
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@date-io/date-fns - npm Package Compare versions

Comparing version 1.3.6 to 1.3.7

LICENSE

2

build/index.esm.js

@@ -108,3 +108,3 @@ import addDays from 'date-fns/addDays';

}
return dateFnsParse(value, formatString, new Date());
return dateFnsParse(value, formatString, new Date(), { locale: this.locale });
};

@@ -111,0 +111,0 @@ DateFnsUtils.prototype.format = function (date, formatString) {

@@ -112,3 +112,3 @@ 'use strict';

}
return dateFnsParse(value, formatString, new Date());
return dateFnsParse(value, formatString, new Date(), { locale: this.locale });
};

@@ -115,0 +115,0 @@ DateFnsUtils.prototype.format = function (date, formatString) {

{
"name": "@date-io/date-fns",
"version": "1.3.6",
"version": "1.3.7",
"description": "Abstraction over common javascript date management libraries",

@@ -36,3 +36,3 @@ "main": "build/index.js",

"dependencies": {
"@date-io/core": "^1.3.6"
"@date-io/core": "^1.3.7"
},

@@ -44,3 +44,3 @@ "devDependencies": {

},
"gitHead": "75f08408e702874235295cf283747ed5c02193f0"
"gitHead": "aae2e56035ae7edf3eb7fe7c187ab9504f1418e5"
}

@@ -145,3 +145,3 @@ import addDays from "date-fns/addDays";

return dateFnsParse(value, formatString, new Date());
return dateFnsParse(value, formatString, new Date(), { locale: this.locale });
}

@@ -148,0 +148,0 @@

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