@seafile/seafile-calendar 0.0.29-alpha73 → 0.0.29-alpha75

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.
@@ -2954,7 +2954,6 @@ var Calendar = function (_React$Component) {
2954
2954
  onSelect: this.onDateTableSelect,
2955
2955
  onClickRightPanelTime: onClickRightPanelTime,
2956
2956
  defaultMinutesTime: this.props.defaultMinutesTime,
2957
- showHourAndMinute: showHourAndMinute,
2958
2957
  format: this.getFormat()
2959
2958
  })
2960
2959
  )
@@ -6922,6 +6921,7 @@ var CalendarRightPanel = function (_React$Component) {
6922
6921
  var highlight = this.state.highlightTime;
6923
6922
  var highlightTime = highlight ? highlight.format().slice(11, 16) : null;
6924
6923
  var isZhcn = locale && locale.today === '今天';
6924
+ console.log('1111', '' + selectedDate);
6925
6925
  return __WEBPACK_IMPORTED_MODULE_3_react___default.a.createElement(
6926
6926
  'div',
6927
6927
  { className: prefixCls + '-right-panel' },
@@ -6937,12 +6937,9 @@ var CalendarRightPanel = function (_React$Component) {
6937
6937
  'ul',
6938
6938
  null,
6939
6939
  this.times.map(function (time) {
6940
- console.log('1111', selectedDate + ' ' + time);
6941
6940
  var parts = Object(__WEBPACK_IMPORTED_MODULE_6__util__["d" /* formatDateLocal */])(selectedDate, _this2.state.localeFormat);
6942
- var current = __WEBPACK_IMPORTED_MODULE_5_dayjs___default()(selectedDate + ' ' + time).year(parts[0]);
6943
- console.log('current', current);
6941
+ var current = __WEBPACK_IMPORTED_MODULE_5_dayjs___default()(selectedDate + ' ' + time).year(parts[0]).month(parts[1] - 1).date(parts[2]);
6944
6942
  current = isZhcn ? current.locale('zh-cn') : current.locale('en-gb');
6945
- // console.log('current', current);
6946
6943
  return __WEBPACK_IMPORTED_MODULE_3_react___default.a.createElement(
6947
6944
  'li',
6948
6945
  {