issue #58, restructuring. fixes #58

pull/65/head
Johannes Raggam 2012-09-04 01:20:47 +02:00
rodzic 42c2f446de
commit f63ad99bbe
1 zmienionych plików z 30 dodań i 7 usunięć

Wyświetl plik

@ -1,11 +1,19 @@
======
ISSUES
======
Test for reported issues
Basic Imports
=============
>>> from icalendar import Event
>>> from datetime import datetime
>>> import pytz
Issue 64
========
Event.to_ical() fails for unicode strings
Issue #64 - Event.to_ical() fails for unicode strings
=====================================================
https://github.com/collective/icalendar/issues/64
by Prillan
@ -14,9 +22,6 @@ This is pretty self explanatory
Non-unicode characters
>>> from icalendar import Event
>>> from datetime import datetime
>>> event = Event()
>>> event.add("dtstart", datetime(2012,9,3,0,0,0))
>>> event.add("summary", u"abcdef")
@ -40,3 +45,21 @@ Unicode characters
ValueError: Property: 'SUMMARY' Wrong values "Parameters({})" or "vText(u'\xe5\xe4\xf6')"
Issue #58 - TZID on UTC DATE-TIMEs
==================================
https://github.com/collective/icalendar/issues/58
By gregbaker
According to RFC 2445: "The TZID property parameter MUST NOT be applied to
DATE-TIME or TIME properties whose time values are specified in UTC."
But the module will produce them in cases like:
>>> e = Event()
>>> e.add('dtstart', pytz.utc.localize(datetime(2012,7,16,0,0,0)))
>>> print e.to_ical()
BEGIN:VEVENT
DTSTART;VALUE=DATE-TIME:20120716T000000Z
END:VEVENT