@date-io/date-fns
Advanced tools
Comparing version 1.3.6 to 1.3.7
@@ -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 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
31858
12
Updated@date-io/core@^1.3.7