Skip to content

Commit

Permalink
add missing import pytz in example
Browse files Browse the repository at this point in the history
The example uses the pytz module:
event.add('dtstart', datetime(2005,4,4,8,0,0,tzinfo=pytz.utc))
But doesn't import it
  • Loading branch information
abe-101 committed Dec 19, 2022
1 parent 16f9015 commit c32edb0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/usage.rst
Expand Up @@ -263,6 +263,7 @@ Init the calendar::

>>> cal = Calendar()
>>> from datetime import datetime
>>> import pytz

Some properties are required to be compliant::

Expand Down

0 comments on commit c32edb0

Please sign in to comment.