rrset expansion fails with ValueError: year is out of range

Bug #1517568 reported by Henk Stubbe
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dateutil
New
Undecided
Unassigned

Bug Description

Given the following snippet of python code:

------------------
from datetime import datetime
from dateutil import rrule

rrset = rrule.rruleset()

rrset.rrule( rrule.rrulestr( 'FREQ=WEEKLY;BYDAY=SU', dtstart = datetime(2015, 1, 11, 15, 0) ) )

expand = list(rrset)
------------------

the rrset expansion will result in ValueError: year is out of range

Changing the rule to 'FREQ=WEEKLY;BYDAY=MO' works fine (and so do other variations).

Revision history for this message
Henk Stubbe (b-ubuftu-m) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.