On Mon, Jan 25, 2016 at 01:02:59PM +0100, Petter Reinholdtsen wrote: > [Jelmer Vernooij] > > That's odd. VTODO items work fine for me, I've been using them for a > > while with calypso. > > Ah, good to know. I was starting to wonder if vtodos could not be used > with calypso. > > I've investigated some more, and the problem is really in the > import_file() function, which expect vcalendar blocks to have vevents, > which vtodos normally do not. The reason is some strange code removing > duration added by Keith in commit > 6e066c79de9c5100fb1306549d7c3f73dc711839 from 2013: > > Remove DURATION from events with both DTSTART and DURATION > > One of these two has to go as they may conflict. I picked DURATION > for no particular reason.
As far as I can tell reading the specification, a combination of DTSTART and DURATION is allowed: http://www.kanzaki.com/docs/ical/vevent.html It is DTEND and DURATION that are mutually exclusive. Cheers, Jelmer
signature.asc
Description: PGP signature
_______________________________________________ Calypso mailing list Calypso@keithp.com http://keithp.com/mailman/listinfo/calypso