@seafile/seafile-calendar 0.0.29-alpha67 → 0.0.29-alpha69

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,7 +6914,7 @@ var CalendarRightPanel = function (_React$Component) {
6914
6914
  prefixCls = _props.prefixCls,
6915
6915
  locale = _props.locale;
6916
6916
 
6917
- var selectedDate = value.format().slice(0, 10);
6917
+ var selectedDate = value.format().slice(0, String(value.format()).indexOf('T'));
6918
6918
  console.log('selectedDate', selectedDate);
6919
6919
  var highlight = this.state.highlightTime;
6920
6920
  var highlightTime = highlight ? highlight.format().slice(11, 16) : null;