From stefan.sassenberg at gmx.de Fri Oct 22 09:52:22 2010 From: stefan.sassenberg at gmx.de (Stefan Sassenberg) Date: Fri, 22 Oct 2010 09:52:22 +0200 Subject: [icalendar-dev] Searching for a command line application Message-ID: <4CC142B6.8080902@gmx.de> Hello, I just found the iCalendar package for Python and asked myself if there is a command line tool available to be able to add events or tasks to a calendar. Are there any recommendations? Stefan From psagers at ignorare.net Sat Oct 30 00:44:13 2010 From: psagers at ignorare.net (Peter Sagerson) Date: Fri, 29 Oct 2010 15:44:13 -0700 Subject: [icalendar-dev] datetime encoding Message-ID: <057E8C38-D81D-4C9E-8A11-A956892521E9@ignorare.net> Hello, Thanks for the nice library. I believe that r69670 has a regression when encoding datetime values. When I add a datetime object to an event, I get something like DTSTART;VALUE=DATE:20101028T080000 which seems incorrect. The problem is that datetime is apparently a subclass of date, so isinstance(dt, date) won't distinguish between the two. Adding a negative instance check for datetime corrects this.[1] Thanks, Peter [1] https://bitbucket.org/psagers/icalendar/changeset/4dd2dbf6c806