@seafile/seafile-calendar 0.0.29-alpha73 → 0.0.29-alpha74
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
@@ -6922,6 +6922,7 @@ var CalendarRightPanel = function (_React$Component) {
|
|
6922
6922
|
var highlight = this.state.highlightTime;
|
6923
6923
|
var highlightTime = highlight ? highlight.format().slice(11, 16) : null;
|
6924
6924
|
var isZhcn = locale && locale.today === '今天';
|
6925
|
+
console.log('1111', '' + selectedDate);
|
6925
6926
|
return __WEBPACK_IMPORTED_MODULE_3_react___default.a.createElement(
|
6926
6927
|
'div',
|
6927
6928
|
{ className: prefixCls + '-right-panel' },
|
@@ -6937,12 +6938,9 @@ var CalendarRightPanel = function (_React$Component) {
|
|
6937
6938
|
'ul',
|
6938
6939
|
null,
|
6939
6940
|
this.times.map(function (time) {
|
6940
|
-
console.log('1111', selectedDate + ' ' + time);
|
6941
6941
|
var parts = Object(__WEBPACK_IMPORTED_MODULE_6__util__["d" /* formatDateLocal */])(selectedDate, _this2.state.localeFormat);
|
6942
|
-
var current = __WEBPACK_IMPORTED_MODULE_5_dayjs___default()(selectedDate + ' ' + time).year(parts[0]);
|
6943
|
-
console.log('current', current);
|
6942
|
+
var current = __WEBPACK_IMPORTED_MODULE_5_dayjs___default()(selectedDate + ' ' + time).year(parts[0]).month(parts[1]).date(parts[2]);
|
6944
6943
|
current = isZhcn ? current.locale('zh-cn') : current.locale('en-gb');
|
6945
|
-
// console.log('current', current);
|
6946
6944
|
return __WEBPACK_IMPORTED_MODULE_3_react___default.a.createElement(
|
6947
6945
|
'li',
|
6948
6946
|
{
|