This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vinay.sajip
Recipients kmk, vinay.sajip
Date 2008-01-17.21:33:23
SpamBayes Score 0.24684082
Marked as misclassified No
Message-id <1200605605.1.0.345211950507.issue1836@psf.upfronthosting.co.za>
In-reply-to
Content
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?
History
Date User Action Args
2008-01-17 21:33:25vinay.sajipsetspambayes_score: 0.246841 -> 0.24684082
recipients: + vinay.sajip, kmk
2008-01-17 21:33:25vinay.sajipsetspambayes_score: 0.246841 -> 0.246841
messageid: <1200605605.1.0.345211950507.issue1836@psf.upfronthosting.co.za>
2008-01-17 21:33:23vinay.sajiplinkissue1836 messages
2008-01-17 21:33:23vinay.sajipcreate