Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix handling of VTIMEZONEs with subcomponents with the same DTSTARTs #220

Merged
merged 2 commits into from Apr 18, 2017

Conversation

geier
Copy link
Collaborator

@geier geier commented Mar 22, 2017

For VTIMEZONE subcomponents without a TZNAME we would construct a
TZNAME from their shared TZID and DTSTART, if their DTSTART was equal,
this would lead to the same TZNAME and with that to a broken timezone
object.

The new method of finding a unique TZNAME is pretty brain dead, but it's guaranteed that it is unique. Suggestions (and code) for better methods are welcome, feel free to push to this branch (if you can).

@geier
Copy link
Collaborator Author

geier commented Mar 23, 2017

Test on python2.6 fail, see #214.

For VTIMEZONE subcomponents without a TZNAME we would construct a
TZNAME from their shared TZID and DTSTART, if their DTSTART was equal,
this would lead to the same TZNAME and with that to a broken timezone
object.

Fixes #217.
@geier geier changed the title [RFC] Fix handling of VTIMEZONEs with subcomponents with the same DTSTARTs Fix handling of VTIMEZONEs with subcomponents with the same DTSTARTs Apr 18, 2017
@geier geier merged commit 01f788e into master Apr 18, 2017
@thet thet deleted the fix/217 branch September 28, 2017 19:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant