@seafile/seafile-calendar 0.0.29-alpha68 → 0.0.29-alpha70

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.
@@ -6914,8 +6914,8 @@ var CalendarRightPanel = function (_React$Component) {
6914
6914
  prefixCls = _props.prefixCls,
6915
6915
  locale = _props.locale;
6916
6916
 
6917
- var selectedDate = value.format();
6918
- console.log('selectedDate', selectedDate);
6917
+ var selectedDate = value.format().slice(0, String(value.format()).indexOf('T'));
6918
+ console.log('selectedDate', value, selectedDate);
6919
6919
  var highlight = this.state.highlightTime;
6920
6920
  var highlightTime = highlight ? highlight.format().slice(11, 16) : null;
6921
6921
  var isZhcn = locale && locale.today === '今天';
@@ -6935,8 +6935,9 @@ var CalendarRightPanel = function (_React$Component) {
6935
6935
  null,
6936
6936
  this.times.map(function (time) {
6937
6937
  var current = __WEBPACK_IMPORTED_MODULE_5_dayjs___default()(selectedDate + ' ' + time);
6938
+ console.log('1111', selectedDate + ' ' + time);
6938
6939
  current = isZhcn ? current.locale('zh-cn') : current.locale('en-gb');
6939
- console.log('current', current);
6940
+ // console.log('current',current)
6940
6941
  return __WEBPACK_IMPORTED_MODULE_3_react___default.a.createElement(
6941
6942
  'li',
6942
6943
  {