@seafile/seafile-calendar 0.0.29-alpha56 → 0.0.29-alpha57

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.
@@ -2871,7 +2871,7 @@ var Calendar = function (_React$Component) {
2871
2871
  onSelect: this.onDateInputSelect,
2872
2872
  clearIcon: clearIcon,
2873
2873
  inputMode: inputMode,
2874
- showHourAndMinute: showHourAndMinute
2874
+ showHourAndMinute: true
2875
2875
  }) : null;
2876
2876
 
2877
2877
  var children = [];
@@ -2947,14 +2947,14 @@ var Calendar = function (_React$Component) {
2947
2947
  onCloseTimePicker: this.closeTimePicker
2948
2948
  })
2949
2949
  ),
2950
- showHourAndMinute && __WEBPACK_IMPORTED_MODULE_4_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_13__calendar_CalendarRightPanel__["a" /* default */], {
2950
+ __WEBPACK_IMPORTED_MODULE_4_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_13__calendar_CalendarRightPanel__["a" /* default */], {
2951
2951
  prefixCls: prefixCls,
2952
2952
  value: value,
2953
2953
  locale: locale,
2954
2954
  onSelect: this.onDateTableSelect,
2955
2955
  onClickRightPanelTime: onClickRightPanelTime,
2956
2956
  defaultMinutesTime: this.props.defaultMinutesTime,
2957
- showHourAndMinute: showHourAndMinute,
2957
+ showHourAndMinute: true,
2958
2958
  format: this.getFormat()
2959
2959
  })
2960
2960
  )
@@ -6922,6 +6922,7 @@ var CalendarRightPanel = function (_React$Component) {
6922
6922
  if (showHourAndMinute) {
6923
6923
  selectedDate = value.format().slice(0, String(value.format()).indexOf('T')).padStart(10, 0);
6924
6924
  }
6925
+ console.log('selectedDate', selectedDate);
6925
6926
  var highlight = this.state.highlightTime;
6926
6927
  var highlightTime = highlight ? highlight.format().slice(11, 16) : null;
6927
6928
  var isZhcn = locale && locale.today === '今天';