[kronolith] time zone variations

Jens-Uwe Mozdzen jmozdzen at nde.ag
Mon Nov 26 15:19:25 UTC 2012


Hi *,

running Horde5 against Kolab/IMAP and syncing to a mobile device, I  
found time zone variations which I believe are between the IMAP store  
and kronolith.

Using kronolith, I've added a new entry with starting time 18:00, time  
zone "standard". After saving the entry, it's displayed as starting  
"17:00", time zone "standard".

Earlier, I came across  
/usr/share/php5/PEAR/Horde/Kolab/Format/Date.php line 63:

         return DateTime::createFromFormat(
             '!Y-m-d', $date, new DateTimeZone('UTC')
         );

So it looks like entries are to be stored in UTC (I'm on CET, so my  
18:00 CET fits 17:00 UTC), which corresponds to the actual entry in  
IMAP ("<start-date>2012-11-26T17:00:00Z</start-date>").

Have I done some configuration job wrong or is this a bug, like  
missing TZ adjustment when reading from Kolab/IMAP?

Regards,
Jens

PS: When I look at the mobile device's calendar, the entry is  
correctly displayed as starting 18:00 (*if* it ever gets synced, which  
is a different story ;) ).
-- 
Jens-U. Mozdzen                         voice   : +49-40-559 51 75
NDE Netzdesign und -entwicklung AG      fax     : +49-40-559 51 77
Postfach 61 03 15                       mobile  : +49-179-4 98 21 98
D-22423 Hamburg                         e-mail  : jmozdzen at nde.ag

         Vorsitzende des Aufsichtsrates: Angelika Mozdzen
           Sitz und Registergericht: Hamburg, HRB 90934
                   Vorstand: Jens-U. Mozdzen
                    USt-IdNr. DE 814 013 983




More information about the kronolith mailing list