ent-9157 alert templates

This commit is contained in:
edu.corral 2022-07-07 15:07:38 +02:00
parent bdb1fda92e
commit 5ae50dfb64
1 changed files with 1 additions and 1 deletions

View File

@ -573,7 +573,7 @@ sub pandora_evaluate_alert ($$$$$$$;$$$$) {
if ($timeBlock->{'start'} eq $timeBlock->{'end'}) {
# All day.
$inSlot = 1;
} elsif ($timeBlock->{'start'} le $time && $timeBlock->{'end'} ge $time) {
} elsif ($timeBlock->{'start'} le $time && (($timeBlock->{'end'} eq '00:00:00') || ($timeBlock->{'end'} ge $time))) {
# In range.
$inSlot = 1;
}