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

List:       kde-pim
Subject:    Re: [Kde-pim] Apple iCal & korganizer..
From:       Reinhold Kainhofer <kainhofer () finanz ! math ! tu-graz ! ac ! at>
Date:       2002-10-10 12:56:11
[Download RAW message or body]

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

On Thu, 10 Oct 2002, Guenter Schwann wrote:

> Sorry for my german :-(
> Here the english version
>
> How should the compatibility look like?
> Is it enough if it is done like this when loading a file:
>
> // compatibility for korganizer < 3.1
> if (event->doesFloat()){
>   if (event->dtStart()==event->dtEnd() ) {
>     QDateTime qdt = event->dtStart();
>     qdt.addDay(1);
>     event->setDtEnd(qdt);
>   }
> }

That won't be enough, because all multi-day event would still be one day
too short... The only way I see to detect old versions is via the PRODID
setting at the beginning of the ics file.

Reinhold

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Weitere Infos: siehe http://www.gnupg.org

iD8DBQE9pXjuTqjEwhXvPN0RAlcTAKCaYRMpvKtfA3boyUPbpOsJL7oKogCdGWIS
NeVO7C+Fz8sKhc+WkWR/Xk4=
=Ovur
-----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