@seafile/seafile-calendar 0.0.31-gzc01 → 0.0.31-gzc03

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.
@@ -7402,7 +7402,8 @@ var _initialiseProps = function _initialiseProps() {
7402
7402
 
7403
7403
  if (!calendarStr) {
7404
7404
  onChange(null);
7405
- _this2.setState({ str: __WEBPACK_IMPORTED_MODULE_8_dayjs___default()() });
7405
+ var nowDay = __WEBPACK_IMPORTED_MODULE_8_dayjs___default()().format(format[0]);
7406
+ _this2.setState({ str: nowDay });
7406
7407
  return;
7407
7408
  }
7408
7409
  var parsed = __WEBPACK_IMPORTED_MODULE_8_dayjs___default()(calendarStr, format[0]);