Wykres commitów

14 Commity (989e3f456a8b0c38495b3dea0fa0e18afb5a3323)

Autor SHA1 Wiadomość Data
Jaca 62a0edf28f
Merge pull request #504 from abe-101/abes-patch
display example's content in the usage section
2022-12-20 18:17:59 +01:00
Abe 4c998ed259
print content of example
In order for the test in
https://github.com/collective/icalendar/blob/master/src/icalendar/tests/test_with_doctest.py
not to fail it was necessary to normilize the whitespace
2022-12-20 12:09:41 -05:00
Abe Hanoka c32edb0b32
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 it
2022-12-19 14:24:40 -05:00
Nicco Kunzmann 173948c182 remove value=date-time 2022-11-03 18:41:17 +00:00
Nicco Kunzmann 88f548677a correct value in documentation 2022-11-03 18:35:06 +00:00
Nicco Kunzmann fb51485ed2 convert usage.rst to valid doctest 2022-10-11 10:03:49 +01:00
Nicco Kunzmann 9c2d097d8b make sure .rst collection includes only icalendar files 2022-10-10 17:48:44 +01:00
NicoHood 2e1569d641
Fix ical printing
There more be more places in the doc, where this is required. I was not 100% sure, so I only fixed this obvious, confirmed bug.
2022-04-08 16:37:22 +02:00
Marius Hegele 1e274d3bac replace substrings of type byte instead of string
`to_ical()` returns a `bytes` object, not a string 

"The methods on bytes and bytearray objects don’t accept strings as their arguments, just as the methods on strings don’t accept bytes as their arguments."
https://docs.python.org/3/library/stdtypes.html#bytes-and-bytearray-operations
2021-10-15 14:58:06 +02:00
tpltnt 28df37305b Usage typo fixes (#198)
* minor typo fixes

* small rephrasing

* tiny typo fix

* missing period
2016-10-26 00:52:28 -05:00
Johannes Raggam 659b6cc4d9 typo 2014-01-06 15:05:34 +01:00
Johannes Raggam 6e82eb38f3 interfaces.py doesnt exist anymore 2013-12-28 14:11:20 +01:00
Johannes Raggam 94e20287a4 add how to add property parameters documentation 2013-12-26 09:41:53 +01:00
Johannes Raggam a08849e099 remove unused tests, move examples.rst to docs/usage.rst, pep8 everything 2013-12-24 01:29:05 +01:00