@seafile/seafile-calendar 0.0.29-alpha63 → 0.0.29-alpha64
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
@@ -6923,10 +6923,10 @@ var CalendarRightPanel = function (_React$Component) {
|
|
6923
6923
|
if (showHourAndMinute) {
|
6924
6924
|
selectedDate = value.format().slice(0, String(value.format()).indexOf('T')).padStart(10, 0);
|
6925
6925
|
}
|
6926
|
-
console.log('selectedDate', selectedDate);
|
6927
6926
|
var highlight = this.state.highlightTime;
|
6928
6927
|
var highlightTime = highlight ? highlight.format().slice(11, 16) : null;
|
6929
6928
|
var isZhcn = locale && locale.today === '今天';
|
6929
|
+
console.log('selectedDate', selectedDate);
|
6930
6930
|
return __WEBPACK_IMPORTED_MODULE_3_react___default.a.createElement(
|
6931
6931
|
'div',
|
6932
6932
|
{ className: prefixCls + '-right-panel' },
|
@@ -6943,17 +6943,15 @@ 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
|
-
if (showHourAndMinute) {
|
6947
|
-
|
6948
|
-
|
6949
|
-
|
6950
|
-
|
6951
|
-
|
6952
|
-
|
6953
|
-
}
|
6954
|
-
}
|
6955
|
-
// console.log('可乐',current)
|
6946
|
+
// if (showHourAndMinute) {
|
6947
|
+
// const parts = formatDateLocal(selectedDate, this.state.localeFormat);
|
6948
|
+
// if (parts[0] && parts[0].length === 4 &&
|
6949
|
+
// (parts[0].slice(0, 3) === '000' || parts[0].slice(0, 2) === '00')) {
|
6950
|
+
// current.year('0001');
|
6951
|
+
// }
|
6952
|
+
// }
|
6956
6953
|
current = isZhcn ? current.locale('zh-cn') : current.locale('en-gb');
|
6954
|
+
console.log('current', current);
|
6957
6955
|
return __WEBPACK_IMPORTED_MODULE_3_react___default.a.createElement(
|
6958
6956
|
'li',
|
6959
6957
|
{
|