Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#5 Broken timecheck when TIME specified over midnight

open
nobody
None
5
2006-07-15
2006-07-15
Anonymous
No

Problem occurs when at least one class contains TIME
parameters ranging over midnight.
A "midnight wrap fixup" changes TIME_ABS and uses
"fixed" value as current time when processing next TIME
rule.

FAST FIX:
move line
TIME_ABS=`htb_time2abs $TIME_NOW`
inside loop for timerule, i.e. after line
END_ABS=`htb_time2abs $END_TIME`

~Vitek

Discussion