Vinay Sajip added the comment: There's already been a change to this code, since 2.5.1.1. Here's the code in trunk:
if when.startswith('W'): day = t[6] # 0 is Monday if day != self.dayOfWeek: if day < self.dayOfWeek: daysToWait = self.dayOfWeek - day - 1 else: daysToWait = 6 - day + self.dayOfWeek self.rolloverAt = self.rolloverAt + (daysToWait * (60 * 60 * 24)) Does it work for you? __________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1836> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com