grab total seconds, not just the seconds that have been explicitly assigned to the timedelta. w/ jason and elizabeth w/ jasquat
This commit is contained in:
parent
78bffc8459
commit
00ed1b4e6a
|
@ -53,7 +53,7 @@ class StartEvent(DefaultStartEvent): # type: ignore
|
|||
elif isinstance(self.timer_definition, CycleTimerEventDefinition):
|
||||
cycles, start, cycle_duration = TimerEventDefinition.parse_iso_recurring_interval(evaluated_expression)
|
||||
time_delta = start - now_in_utc + cycle_duration
|
||||
duration = cycle_duration.seconds
|
||||
duration = cycle_duration.total_seconds()
|
||||
|
||||
start_delay_in_seconds = int(time_delta.total_seconds())
|
||||
|
||||
|
|
Loading…
Reference in New Issue