Re: [evolution-patches] patch for bug #60463 calendar



On Tue, 2004-06-29 at 12:51, chenthill wrote:
> hi,
>   Attached a patch which gets the default zone as an extra argument,
> converts the freebusy time to the default timezone using the function
> icatime_from_timet_with_zone() . It was not showing some of the freebusy
> times before, since no conversion from UTC timezone to default timezone
> was made.
> 
> thanks, chenthill

THings like

-  itt = icaltime_from_timet (t, 0);
+  if (default_zone)
+     itt = icaltime_from_timet_with_zone (t, 0, default_zone);
+  else
+     itt = icaltime_from_timet_with_zone (t, 0, 0);
   ipt.start = itt;
 

Could be rewritten without making 2 calls to the same method.

J





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]