@seafile/seafile-calendar 0.0.29-alpha58 → 0.0.29-alpha59

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.
@@ -6923,6 +6923,7 @@ var CalendarRightPanel = function (_React$Component) {
6923
6923
  if (showHourAndMinute) {
6924
6924
  selectedDate = value.format().slice(0, String(value.format()).indexOf('T')).padStart(10, 0);
6925
6925
  }
6926
+ console.log('selectedDate', selectedDate);
6926
6927
  var highlight = this.state.highlightTime;
6927
6928
  var highlightTime = highlight ? highlight.format().slice(11, 16) : null;
6928
6929
  var isZhcn = locale && locale.today === '今天';
@@ -6945,6 +6946,8 @@ var CalendarRightPanel = function (_React$Component) {
6945
6946
  if (showHourAndMinute) {
6946
6947
  var parts = Object(__WEBPACK_IMPORTED_MODULE_6__util__["d" /* formatDateLocal */])(selectedDate, _this2.state.localeFormat);
6947
6948
  if (parts[0] && parts[0].length === 4 && (parts[0].slice(0, 3) === '000' || parts[0].slice(0, 2) === '00')) {
6949
+ console.log('year', year);
6950
+ console.log('current', current);
6948
6951
  current.year(parts[0]);
6949
6952
  }
6950
6953
  }