@seafile/seafile-calendar 0.0.29-alpha33 → 0.0.29-alpha34
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
@@ -7466,7 +7466,7 @@ var _initialiseProps = function _initialiseProps() {
|
|
7466
7466
|
console.log('cananderStr', cananderStr, format, parts); // eslint-disable-next-line no-console
|
7467
7467
|
var value = _this2.props.value.clone();
|
7468
7468
|
value.locale('zh-cn');
|
7469
|
-
value = value.year(
|
7469
|
+
value = value.year('0001').month(parsed.month()).date(parsed.date()).hour(parsed.hour()).minute(parsed.minute()).second(parsed.second());
|
7470
7470
|
|
7471
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) {
|
7472
7472
|
if (parts[0] && parts[0].length === 4 && (parts[0].slice(0, 3) === '000' || parts[0].slice(0, 2) === '00')) {
|