adapt compute_next_event to new signature
the 'utc' flag is now contained in the event itself and not given as a flag to 'compute_next_event' anymore Signed-off-by: Dominik Csapak <d.csapak@proxmox.com> Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
This commit is contained in:
committed by
Dietmar Maurer
parent
c72f8784a5
commit
7549114c9f
@ -341,7 +341,7 @@ pub fn compute_schedule_status(
|
||||
if let Some(schedule) = schedule {
|
||||
if let Ok(event) = schedule.parse::<CalendarEvent>() {
|
||||
// ignore errors
|
||||
status.next_run = event.compute_next_event(last, false).unwrap_or(None);
|
||||
status.next_run = event.compute_next_event(last).unwrap_or(None);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user