Fix wrong alarm selection

This commit is contained in:
Daniel Poelzleithner 2022-03-31 03:54:59 +02:00
parent 66b038e394
commit 883143f204

View File

@ -2880,7 +2880,7 @@ local Sync = ( function
end
print(type(now()))
local nalarm = type(self.nextCronAlarm) == "userdata" and self.nextCronAlarm.seconds or nil
local nalarm = nil
for i, c in ipairs(self.cron) do
local na = c:get_next_occurrence(timestamp.seconds)
print("na", timestamp.seconds, na)