[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-pim
Subject:    Re: [Kde-pim] DTEND in libkcal...
From:       David Jarvie <lists () astrojar ! org ! uk>
Date:       2005-07-25 17:55:20
Message-ID: 200507251755.21202.lists () astrojar ! org ! uk
[Download RAW message or body]

On Sunday 24 Jul 2005 11:13, Reinhold Kainhofer wrote:
> After reading up a bit on the mailing lists for the icalendar
> specification, I realize that for all-day events, we again messed up our
> DTEND with the changes introduced in 3.1...
>
> In particular, before 3.1, an all-day event on July 24, 2005 would use
> DTSTART;VALUE=DATE:20050724
> DTEND;VALUE=DATE:20050724
>
> rfc 2445 says that the DTEND is non-inclusive, which we interpreted as "the
> date is non-inclusive" and so changed all those events to
> DTSTART;VALUE=DATE:20050724
> DTEND;VALUE=DATE:20050725
>
>
> As it turns out now, for VALUE=DATE it was meant that the dtend is  at
> 23:59:59, as Frank Dawson (one of the editors of rfc 2445) explains:
>   http://www.imc.org/ietf-calendar/archive1/msg03648.html
>
> On the other hand, other applications like evolution and mozilla also use
> "our" wrong interpretation and generate the wrong DTEND...
>
> So, what are your thoughts on this? Okay to revert to the correct
> rfc-compliant way, and break compatibility with other borked apps like
> evolution? Or better stay with our current way?
>
> For one-day events, the simple solution would be to simply leave out the
> DTEND, which then means the whole day of the DTSTART. But for multi-day
> all-day events, the problem persists.

From reading RFC2445 (section 3.6.1), I think that DTEND should definitely be 
omitted if the event lasts for just one day. But for multi-day events, there 
is, as you say, still a problem.

-- 
David Jarvie.
KAlarm author and maintainer.
http://www.astrojar.org.uk/linux/kalarm.html
_______________________________________________
kde-pim mailing list
kde-pim@kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
kde-pim home page at http://pim.kde.org/

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic