@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.
- package/dist/rc-calendar.js +2 -3
- package/dist/rc-calendar.js.map +1 -1
- package/dist/rc-calendar.min.js +1 -1
- package/es/date/DateInput.js +2 -2
- package/es/util/index.js +0 -1
- package/lib/date/DateInput.js +2 -2
- package/lib/util/index.js +0 -1
- package/package.json +1 -1
package/dist/rc-calendar.js
CHANGED
@@ -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('
|
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)) {
|