kopia lustrzana https://github.com/collective/icalendar
add missing import pytz in example
The example uses the pytz module: event.add('dtstart', datetime(2005,4,4,8,0,0,tzinfo=pytz.utc)) But doesn't import itpull/503/head
rodzic
16f9015e16
commit
c32edb0b32
|
@ -263,6 +263,7 @@ Init the calendar::
|
||||||
|
|
||||||
>>> cal = Calendar()
|
>>> cal = Calendar()
|
||||||
>>> from datetime import datetime
|
>>> from datetime import datetime
|
||||||
|
>>> import pytz
|
||||||
|
|
||||||
Some properties are required to be compliant::
|
Some properties are required to be compliant::
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue