* Calendar - Fix alarms set in different timezone from server moved when saving event

This commit is contained in:
nathangray 2017-12-06 13:47:54 -07:00
parent 594bd63181
commit 33110fc2cd

View File

@ -1347,6 +1347,10 @@ class calendar_boupdate extends calendar_bo
}
}
}
foreach($event['alarm'] as $id => &$alarm)
{
$alarm['time'] = $this->date2ts($alarm['time'],true); // user to server-time
}
}
// you should always update modification time (ctag depends on it!)