@seafile/seafile-calendar 0.0.29-alpha69 → 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.
package/dist/rc-calendar.js
CHANGED
@@ -6915,7 +6915,7 @@ var CalendarRightPanel = function (_React$Component) {
|
|
6915
6915
|
locale = _props.locale;
|
6916
6916
|
|
6917
6917
|
var selectedDate = value.format().slice(0, String(value.format()).indexOf('T'));
|
6918
|
-
console.log('selectedDate', selectedDate);
|
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 === '今天';
|
@@ -6934,7 +6934,11 @@ var CalendarRightPanel = function (_React$Component) {
|
|
6934
6934
|
'ul',
|
6935
6935
|
null,
|
6936
6936
|
this.times.map(function (time) {
|
6937
|
-
|
6937
|
+
|
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
|
+
|
6938
6942
|
current = isZhcn ? current.locale('zh-cn') : current.locale('en-gb');
|
6939
6943
|
console.log('current', current);
|
6940
6944
|
return __WEBPACK_IMPORTED_MODULE_3_react___default.a.createElement(
|