indicator-ui 0.0.118 → 0.0.119
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js
CHANGED
|
@@ -6871,9 +6871,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6871
6871
|
/* harmony export */ });
|
|
6872
6872
|
/* harmony import */ var date_fns__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! date-fns */ "./node_modules/date-fns/parse.js");
|
|
6873
6873
|
|
|
6874
|
-
function saveParseDate(date, { from }) {
|
|
6874
|
+
function saveParseDate(date, { from, locale }) {
|
|
6875
6875
|
try {
|
|
6876
|
-
return (0,date_fns__WEBPACK_IMPORTED_MODULE_0__.parse)(date, from, new Date());
|
|
6876
|
+
return (0,date_fns__WEBPACK_IMPORTED_MODULE_0__.parse)(date, from, new Date(), { locale: locale });
|
|
6877
6877
|
}
|
|
6878
6878
|
catch (e) {
|
|
6879
6879
|
console.warn(e);
|