@seafile/seafile-calendar 0.0.29-alpha31 → 0.0.29-alpha32
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/rc-calendar.js
CHANGED
@@ -7465,6 +7465,7 @@ var _initialiseProps = function _initialiseProps() {
|
|
7465
7465
|
// eslint-disable-next-line no-console
|
7466
7466
|
console.log('cananderStr', cananderStr, format, parts); // eslint-disable-next-line no-console
|
7467
7467
|
var value = _this2.props.value.clone();
|
7468
|
+
value.locale('zh-cn');
|
7468
7469
|
value = value.year(parsed.year()).month(parsed.month()).date(parsed.date()).hour(parsed.hour()).minute(parsed.minute()).second(parsed.second());
|
7469
7470
|
|
7470
7471
|
if (_this2.state.localeFormat === __WEBPACK_IMPORTED_MODULE_9__util__["a" /* DATE_FORMATS */].ISO || _this2.state.localeFormat === __WEBPACK_IMPORTED_MODULE_9__util__["a" /* DATE_FORMATS */].ISOAndTime) {
|