Fix type error in reminders

pull/1/head
yflory 2021-04-14 11:42:41 +02:00
parent eded0605de
commit 6131e89505
1 changed files with 2 additions and 2 deletions

View File

@ -108,11 +108,11 @@ define([
if (ev.isAllDay) {
if (ev.startDay) { ev.start = +new Date(ev.startDay); }
if (ev.endDay) {
var endDate = new Date(obj.endDay);
var endDate = new Date(ev.endDay);
endDate.setHours(23);
endDate.setMinutes(59);
endDate.setSeconds(59);
obj.end = +endDate;
ev.end = +endDate;
}
}