calendar all day fix
This commit is contained in:
@@ -624,8 +624,8 @@ class CalendarView extends View {
|
||||
if (this.allDayScopeList.includes(event.scope)) {
|
||||
event.allDay = event.allDayCopy = true;
|
||||
|
||||
if (!notInitial && end) {
|
||||
start = end;
|
||||
if (/*!notInitial &&*/ end) {
|
||||
start = end.clone();
|
||||
|
||||
if (
|
||||
!event.dateEndDate &&
|
||||
@@ -636,6 +636,10 @@ class CalendarView extends View {
|
||||
}
|
||||
}
|
||||
|
||||
if (start.isSame(end)) {
|
||||
end.add(1, 'days');
|
||||
}
|
||||
|
||||
if (start) {
|
||||
event.start = start.toDate();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user