[Calypso] VTODO not supported?

Jelmer Vernooń≥ jelmer at jelmer.uk
Mon Jan 25 15:12:26 PST 2016


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <http://keithp.com/pipermail/calypso/attachments/20160125/12787190/attachment-0001.sig>


More information about the Calypso mailing list