-
-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #419 from plone/icalendar-6-pytz
Support icalendar 6 by forcing it to use pytz
- Loading branch information
Showing
2 changed files
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Support ``icalendar`` 6 by forcing it to use its ``pytz`` timezone implementation. | ||
The new ``zoneinfo`` support in ``icalendar`` 6 does not work for us yet, giving indexing problems. | ||
So we call ``icalendar.use_pytz`` at startup. | ||
If this fails, we must be using an older version where ``pytz`` is the only option anyway, so we ignore this. | ||
[maurits] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters