from dateutil import rrule
rrule.rrulestr('DTSTART;TZID=America/New_York:20180119T130000Z RRULE:FREQ=DAILY;INTERVAL=1;COUNT=7')
File "~/venvs/tmp-c74b801dfc74a8d7/lib/python2.7/site-packages/dateutil/rrule.py", line 1616, in __call__
return self._parse_rfc(s, **kwargs)
File "~/venvs/tmp-c74b801dfc74a8d7/lib/python2.7/site-packages/dateutil/rrule.py", line 1569, in _parse_rfc
raise ValueError("unsupported DTSTART parm: "+parm)
ValueError: unsupported DTSTART parm: TZID=AMERICA/NEW_YORK
From https://www.rfc-editor.org/rfc/rfc5545.txt:
The following are examples of this property parameter:
DTSTART;TZID=America/New_York:19980119T020000
DTEND;TZID=America/New_York:19980119T030000
The "TZID" property parameter MUST NOT be applied to DATE
properties and DATE-TIME or TIME properties whose time values are
specified in UTC.
Is there a way to accomplish this in dateutil that I'm unaware of?
From https://www.rfc-editor.org/rfc/rfc5545.txt:
Is there a way to accomplish this in
dateutilthat I'm unaware of?