Re: [evolution-patches] [UIHackefest] Bug 205804



On Thu, 2006-01-12 at 22:51 -0800, Rajeev ramanathan wrote:
> default_zone = calendar_config_get_icaltimezone ();
> +       tmp = icaltimezone_get_display_name(default_zone);
> +       new_zone=icaltimezone_get_builtin_timezone_from_tzid(dtstart.tzid);
> +       tmp1 = icaltimezone_get_display_name(new_zone);
> +       if(strcmp(tmp,tmp1)!=0) 
Just comparing the tzid would be suffient instead of comparing the
names. So 
icaltimezone_get_builtin_timezone_from_tzid(dtstart.tzid)
would not be necessary.

thanks, Chenthill.



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