Skip to content

Support for TZID= in rrulestr#624

Merged
pganssle merged 4 commits into
dateutil:masterfrom
pganssle:rrule_tzid
Mar 11, 2018
Merged

Support for TZID= in rrulestr#624
pganssle merged 4 commits into
dateutil:masterfrom
pganssle:rrule_tzid

Conversation

@pganssle

@pganssle pganssle commented Mar 11, 2018

Copy link
Copy Markdown
Member

This is a fixup PR for #619, see the discussion there for more details. It fixes #614.

I realized that tzinfos in the parser and tzid want slightly different things in this scenario. Considering that the RFC is actually a lot stricter than dateutil.parser.parse about the format of the dates, in a future version I will try to deprecate the looser parser, possibly in favor of dateutil.parser.isoparse.

Either way I'll probably deprecate the use of tzinfos, since the RFC dictates that the time zone should go in the TZID parameter, not the datetime itself.

@pganssle
pganssle merged commit 66bc55d into dateutil:master Mar 11, 2018
@ryanpetrello

Copy link
Copy Markdown
Contributor

Thanks for merging this :)!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TZID is not supported in rrule DTSTART

2 participants