[Kde-pim] Timezone, all day events

Reinhold Kainhofer reinhold at kainhofer.com
Fri Aug 17 14:13:35 BST 2007


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

Am Freitag, 17. August 2007 schrieb Bruno Virlet:
> There is most probably a problem concerning timezone with all-day events.
> As David told me by mail, RFC2445 (4.3.4) specifies that DATE values in
> ical files cannot have a timezone info associated, unlike DATE-TIME values.
> I also understand the RFC this way.
>
> This leads to a problem when the user specifies an all-day event. Which
> timezone should be used in this case ?

None. Dates by definition don't need a time zone. Times do.

Please don't think of "all-day" events as events from 0:00-24:00, but rather 
as "holiday"-type events. Christmas eve is on December 24 everywhere, 
timezones don't matter... Of course, while in some regions of the world, it 
is december 24, in others it is still dec 23 or already dec 25. 

> Eg.: I add a all-day event when I'm in America, July 10th. It appears on
> July 10th. If then I set KOrganizer prefs to show Europe/Paris TZ, the
> event will also appear on July 10th. Incorrect behavior.

No, absolutely correct behavior.

> I had a quick look at evolution and it suffers the same problem (if you
> have an all-day event, it will always show on the same day)

Why is that a problem??? 

What you are looking for is an event with an explicitly set time 0:00-24:00. 
This event will really always happen at the same absolute times, so that 
while they span exactly one day in one TZ, in another TZ they spam two days 
(but not the whole days, of course).

Cheers,
Reinhold

- -- 
- ------------------------------------------------------------------
Reinhold Kainhofer, Vienna University of Technology, Austria
email: reinhold at kainhofer.com, http://reinhold.kainhofer.com/
 * Financial and Actuarial Mathematics, TU Wien, http://www.fam.tuwien.ac.at/
 * K Desktop Environment, http://www.kde.org, KOrganizer maintainer
 * Chorvereinigung "Jung-Wien", http://www.jung-wien.at/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGxZ8CTqjEwhXvPN0RAoB3AJ4v10kof2bC8LEofUL2+R4e2E4uywCfST4N
0lE0f61iuHqHY52jomAJ7wo=
=Fyhg
-----END PGP SIGNATURE-----
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/



More information about the kde-pim mailing list