kopia lustrzana https://github.com/collective/icalendar
Make doctest happy by adding missing import
rodzic
3e3818152d
commit
65954efd25
|
@ -311,6 +311,7 @@ Add the event to the calendar::
|
|||
|
||||
Extending the event with subcomponents you can create multiple alarms::
|
||||
|
||||
>>> from icalendar import Alarm
|
||||
>>> from datetime import timedelta
|
||||
>>> alarm_1h_before = Alarm()
|
||||
>>> alarm_1h_before.add("action", "DISPLAY")
|
||||
|
|
Ładowanie…
Reference in New Issue