[issue1321] TimedRotatingFileHandler logic for day of week is wrong

2007-10-24 Thread Moshe Cohen
New submission from Moshe Cohen: The logic for determining the time till midnight on the requested day of week is reversed. >From logging/handlers.py:234 if day > self.dayOfWeek: daysToWait = (day - self.dayOfWeek) - 1 self.roll

[issue1321] TimedRotatingFileHandler logic for day of week is wrong

2007-10-24 Thread Moshe Cohen
Moshe Cohen added the comment: The comments before the code are correct, by the way. The code should do exactly that. __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/

[issue1321] TimedRotatingFileHandler logic for day of week is wrong

2007-10-24 Thread Moshe Cohen
Changes by Moshe Cohen: -- components: None nosy: mosheco severity: major status: open title: TimedRotatingFileHandler logic for day of week is wrong type: behavior versions: Python 2.4 __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/