Hello,
I have a problem where a time period will overflow onto the next day. I have the following period configs:
object TimePeriod "bank-holidays" {
ranges = {
...
"2020-12-28" = "00:00-24:00"
...
}
}
object TimePeriod "office-hours" {
excludes = [ "bank-holidays" ]
ranges = {
"monday" = "10:00-18:00"
"tuesday" = "10:00-18:00"
"wednesday" = "10:00-18:00"
"thursday" = "10:00-18:00"
"friday" = "10:00-18:00"
}
}
Today (29.12.2020) services with office-hours notifications will not send with the following error in the debug log.
[2020-12-29 15:32:29 +0000] notice/Notification: Not sending notifications for notification object 'Server!Service!text-support': not in timeperiod 'office-hours'
I managed to get it working by changing the bank holiday range end to 23:59 from 24:00. Is this intended behaviour or a bug?