@seafile/seafile-calendar 0.0.31-Apph0.30 → 0.0.31-Apph0.32

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.
@@ -614,7 +614,6 @@ function getDatePart(str) {
614
614
 
615
615
  function initializeStr(str, format) {
616
616
  var inputStr = str;
617
- if (!inputStr) return '';
618
617
  var inputStrLength = inputStr.length;
619
618
  var time = getCurrentTime();
620
619
  var hasSpecial = hasSpecialChar(inputStr);
@@ -7404,10 +7403,10 @@ var _initialiseProps = function _initialiseProps() {
7404
7403
  selectedValue = _props.selectedValue,
7405
7404
  defaultValue = _props.defaultValue;
7406
7405
 
7407
- console.log('calendarStr', calendarStr);
7406
+ console.log('calendarStr', !calendarStr);
7408
7407
  var parsed = __WEBPACK_IMPORTED_MODULE_8_dayjs___default()(calendarStr, format[0]);
7409
7408
  var value = _this2.props.value.clone();
7410
- console.log('value', value);
7409
+ console.log('defaultValue', defaultValue);
7411
7410
  value = value.year(parsed.year()).month(parsed.month()).date(parsed.date()).hour(parsed.hour()).minute(parsed.minute()).second(parsed.second());
7412
7411
 
7413
7412
  if (!value || disabledDate && disabledDate(value)) {