@seafile/seafile-calendar 0.0.29-alpha64 → 0.0.29-alpha65
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
@@ -6943,13 +6943,12 @@ var CalendarRightPanel = function (_React$Component) {
|
|
6943
6943
|
null,
|
6944
6944
|
this.times.map(function (time) {
|
6945
6945
|
var current = __WEBPACK_IMPORTED_MODULE_5_dayjs___default()(selectedDate + ' ' + time);
|
6946
|
-
|
6947
|
-
|
6948
|
-
|
6949
|
-
|
6950
|
-
|
6951
|
-
|
6952
|
-
// }
|
6946
|
+
if (showHourAndMinute) {
|
6947
|
+
var parts = Object(__WEBPACK_IMPORTED_MODULE_6__util__["d" /* formatDateLocal */])(selectedDate, _this2.state.localeFormat);
|
6948
|
+
if (parts[0] && parts[0].length === 4 && (parts[0].slice(0, 3) === '000' || parts[0].slice(0, 2) === '00')) {
|
6949
|
+
current.set('year', parts[0]);
|
6950
|
+
}
|
6951
|
+
}
|
6953
6952
|
current = isZhcn ? current.locale('zh-cn') : current.locale('en-gb');
|
6954
6953
|
console.log('current', current);
|
6955
6954
|
return __WEBPACK_IMPORTED_MODULE_3_react___default.a.createElement(
|