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

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.
@@ -6934,10 +6934,13 @@ var CalendarRightPanel = function (_React$Component) {
6934
6934
  'ul',
6935
6935
  null,
6936
6936
  this.times.map(function (time) {
6937
- var current = __WEBPACK_IMPORTED_MODULE_5_dayjs___default()(selectedDate + ' ' + time);
6937
+
6938
6938
  console.log('1111', selectedDate + ' ' + time);
6939
+ var parts = formatDateLocal(selectedDate, _this2.state.localeFormat);
6940
+ var current = __WEBPACK_IMPORTED_MODULE_5_dayjs___default()(selectedDate + ' ' + time).year(parts[0]);
6941
+
6939
6942
  current = isZhcn ? current.locale('zh-cn') : current.locale('en-gb');
6940
- // console.log('current',current)
6943
+ console.log('current', current);
6941
6944
  return __WEBPACK_IMPORTED_MODULE_3_react___default.a.createElement(
6942
6945
  'li',
6943
6946
  {