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

List:       kde-pim
Subject:    Re: [Kde-pim] Apple iCal & korganizer..
From:       Guenter Schwann <schwann () icg ! tu-graz ! ac ! at>
Date:       2002-10-10 12:17:31
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wednesday 09 October 2002 23:37, Cornelius Schumacher wrote:
> On Tuesday 01 October 2002 02:02, Guenter Schwann wrote:
> > On Tuesday 01 October 2002 01:39, Cornelius Schumacher wrote:
> > > I don't think that's a bug in KOrganizer. This use of start and end
> > > dates doesn't make any sense. The iCalendar spec says that a
> > > DTSTART without a time and without a DTEND is used to specifiy
> > > events which doesn't consume any time, like anniversaries. So
> > > adding a DTEND does make it consume time and I fail to see why the
> > > DTEND shouldn't consume a day like the DTSTART does.
> >
> > I guess they do an all-day-event by beginning at 0:00 at that day,
> > and ending it by 0:00 the next day. And if no time is given, they use
> > 0:00. Should we use this as an option? Does anyone have more exmaples
> > of different programs? (evolution seems to do it the apple-ical way)
>
> Ok, I found it. RFC 2445 says that the DTEND propoperty specifies the
> non-inclusive end of the event. That means Apple is correct and we have
> to change KOrganizer accordingly (which includes a compatibility layer
> for calendar files written with previous versions of Korganizer).

Und wie soll die Kompatibilität aussehen?
Ist es genug, wenn wir es beim Laden etwa so machen:

// compatibility for korganizer < 3.1
if (event->doesFloat()){
  if (event->dtStart()==event->dtEnd() ) {
    QDateTime qdt = event->dtStart();
    qdt.addDay(1);
    event->setDtEnd(qdt);
  }
}

ciao
- -- 
Guenter Schwann
Graz University of Technology - Computer Graphics and Vision
GPG-key: http://www.sbox.tugraz.at/home/v/vogel/gpg-schwann-public-key.txt
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)

iD8DBQE9pW/c43e2O3Z+/CQRAlBVAJ47ZCuQFzTeSguhKCz7msJhrb2vtgCfYmmJ
Na94K3uYQhA1NOsKQXb8knI=
=9noc
-----END PGP SIGNATURE-----

_______________________________________________
kde-pim mailing list
kde-pim@mail.kde.org
http://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