Ok, I got into ical_dezonify() tonight and rearranged some code, and added 
some debugging output to the log.  For each timestamp, it now clearly 
knows (and tells you) whether it is:  
   
 1. Already UTC  
 2. Not UTC, but a timezone property was specified  
 3. Not UTC, and no timezone property was specified  
   
 We handle the first condition by doing nothing.  We handle the second 
condition by converting the specified timezone to UTC and then stripping 
out the timezone subcomponents.  
   
 The third condition needs to be handled by converting from the server's 
current timezone into UTC, but amazingly enough, I can't find a function 
in libical to return the server's current timezone.  Evolution has 
something called calendar_config_get_icaltimezone() but I wasn't able to 
locate it -- does anyone have a copy of the Evolution sources online?  If 
so, I'd appreciate getting a copy of that function.  
  

Reply via email to