Hi Axel,
      There was a bug in the evolution code which I have fixed now. Here
is the attached patch. I am committing the patch to stable and trunk.

- Chenthill.
On Thu, 2008-06-05 at 03:42 -0700, Axel wrote:
> I am under the impression that Evo has its own translation tables. The
> one for Bangkok is wrong, someone just typed rubish there - UTC.
> +6:42:04, although it should be UTC +7 (for instance like Jakarta). 
> 
> System time and all other system-zone files are correct. 
> 
> Regards,
> Axel
> 
> 
> 
> ----- Ursprüngliche Mail ----
> Von: chenthill <[EMAIL PROTECTED]>
> An: Axel <[EMAIL PROTECTED]>
> CC: Evolution-list@gnome.org
> Gesendet: Donnerstag, den 5. Juni 2008, 06:21:54 Uhr
> Betreff: Re: AW: [Evolution] Time Zone Info
> 
> Is your system time showing up correctly ?
> 
> - Chenthill.
> On Thu, 2008-06-05 at 03:00 -0700, Axel , 
> > Kubuntu 8.04 - Evo 2.22.2
> > 
> > Thanks,
> > Axel
> > 
> > 
> > ----- Ursprüngliche Mail ----
> > Von: chenthill <[EMAIL PROTECTED]>
> > An: Axel <[EMAIL PROTECTED]>
> > CC: Evolution-list@gnome.org
> > Gesendet: Donnerstag, den 5. Juni 2008, 06:07:31 Uhr
> > Betreff: Re: [Evolution] Time Zone Info
> > 
> > What is the distro which your using ? and What is the version of
> your
> > evolution ?
> > 
> > - Chenthill.
> > On Wed, 2008-06-04 at 23:48 -0700, Axel wrote:
> > > Dear All - 
> > > 
> > > The time zone info for my current location, Bangkok, is wrong. I
> > read
> > > older emails that these are text files which can be edited.
> However,
> > I
> > > can find them. If i look into usr/share/zoneinfo these are binarie
> > > files and not editable. 
> > > 
> > > Please advise.
> > > 
> > > Thanks,
> > > Axel
> > > 
> > > 
> > > 
> > > 
> > >
> >
> ______________________________________________________________________
> > > Gesendet von Yahoo! Mail. 
> > > Dem pfiffigeren Posteingang.
> > > _______________________________________________
> > > Evolution-list mailing list
> > > Evolution-list@gnome.org
> > > http://mail.gnome.org/mailman/listinfo/evolution-list
> > 
> > 
> > 
> > 
> >
> ______________________________________________________________________
> > Gesendet von Yahoo! Mail. 
> > Dem pfiffigeren Posteingang.
> 
> 
> 
> 
> ______________________________________________________________________
> Gesendet von Yahoo! Mail. 
> Dem pfiffigeren Posteingang.
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 643)
+++ ChangeLog	(working copy)
@@ -1,3 +1,8 @@
+2008-06-06  Chenthill Palanisamy  <[EMAIL PROTECTED]>
+
+	* src/libical/icaltz-util.c: (icaltzutil_fetch_timezone): If there
+	are no transitions take the index for types as 0.
+
 2008-05-06  Patrick Ohly  <[EMAIL PROTECTED]>
 
 	* src/libical/icalmemory.c: mark libical versions
Index: src/libical/icaltz-util.c
===================================================================
--- src/libical/icaltz-util.c	(revision 643)
+++ src/libical/icaltz-util.c	(working copy)
@@ -148,7 +148,7 @@ find_transidx (time_t *transitions, ttin
 
 	/* If the transition time is not found, it means the timezone does not have the dst changes */
 	if (!found) {
-		*stdidx = i -1;
+		*stdidx = i-1;
 		return;
 	}
 
@@ -326,9 +326,9 @@ icaltzutil_fetch_timezone (const char *l
 	icalcomponent_add_property (tz_comp, icalprop);
 	
 	if (stdidx != -1) {
-		if (stdidx != 0)
+		if (num_trans != 0)
 			zidx = trans_idx [stdidx];
-		else 
+		else
 			zidx = 0;
 
 		std_comp = icalcomponent_new (ICAL_XSTANDARD_COMPONENT);
_______________________________________________
Evolution-list mailing list
Evolution-list@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-list

Reply via email to