Date: 06 May 2002 22:41:27 -0400 From: Joe Marcus Clarke <marcus@marcuscom.com> To: Mike Harding <mvh@ix.netcom.com> Cc: gnome@FreeBSD.ORG Subject: Re: I still have a problem with evolution timezone Message-ID: <1020739287.343.21.camel@shumai.marcuscom.com> In-Reply-To: <20020507023652.7FDB813111@netcom1.netcom.com> References: <20020502151714.65AE013107@netcom1.netcom.com> <1020456454.84489.1.camel@gyros.marcuscom.com> <20020507023652.7FDB813111@netcom1.netcom.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--=-jp/jKKJFTBBzp+wwEIpg Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Mon, 2002-05-06 at 23:36, Mike Harding wrote: >=20 > This indeed seems to display the correct time. What does Linux do > differently? Cool. Seems that Linux (with uses the timezone global) doesn't need to adjust for DST. Since Evo zeroes out the tm structure, they enforce DST to _always_ be off. My patch sets tm_isdst to -1 which tells the OS to figure out if DST is in effect. I would have committed this patch already, but apparently 1.0.4 is "out." Unfortunately, non of the FTP sites (including Ximian's) have the dist files. Hopefully tomorrow we'll see a 1.0.4 update in the FreeBSD ports tree. Joe >=20 > - Mike H. >=20 > From: Joe Marcus Clarke <marcus@marcuscom.com> > Cc: gnome@FreeBSD.ORG > Date: 03 May 2002 16:07:34 -0400 > Sender: owner-freebsd-gnome@FreeBSD.ORG > X-Loop: FreeBSD.ORG > X-Spam-Status: No, hits=3D-7.1 required=3D5.0 tests=3DIN_REP_TO,UNIFIE= D_PATCH,AWL version=3D2.20 > X-Spam-Level:=20 >=20 >=20 > --=3D-l1VkcATLVe400NwgjmnI > Content-Type: text/plain > Content-Transfer-Encoding: 7bit >=20 > On Thu, 2002-05-02 at 11:17, Mike Harding wrote: > >=20 > > I have applied the patch discussed earlier, and also rebuilt the por= t > > today after refreshing my ports tree, but the displayed time is stil= l > > an hour off. If I get the mail via emacs the time is correct. Anyo= ne > > else having this problem? The only thing I can think of is that I a= s > > using wall clock as the system is dual boot, and I am using ntpd so = my > > clock is locked down... >=20 > This took a while to track down, but I think I fixed it. Please let m= e > know if the attached patch works for you. Just drop this in > mail/evolution/files, and rebuild Evo. >=20 > Joe >=20 > >=20 > > My timezone is reported as... > >=20 > > $ date > > Thu May 2 08:15:44 PDT 2002 > >=20 > >=20 > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-gnome" in the body of the message > >=20 > --=20 > PGP Key: http://www.marcuscom.com/pgp.asc >=20 > --=3D-l1VkcATLVe400NwgjmnI > Content-Disposition: attachment; filename=3Dpatch-camel_camel-mime-uti= ls.c > Content-Transfer-Encoding: quoted-printable > Content-Type: text/x-c; name=3Dpatch-camel_camel-mime-utils.c; charset= =3DISO8859-1 >=20 > --- camel/camel-mime-utils.c.orig Fri May 3 15:47:41 2002 > +++ camel/camel-mime-utils.c Fri May 3 15:48:28 2002 > @@ -3389,6 +3389,8 @@ > d(printf("named offset =3D3D %d\n", offset)); > } > =3D20 > + tm.tm_isdst =3D3D -1; > + > t =3D3D mktime(&tm); > #if defined(HAVE_TIMEZONE) > t -=3D3D timezone; >=20 > --=3D-l1VkcATLVe400NwgjmnI-- >=20 >=20 > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-gnome" in the body of the message >=20 >=20 --=-jp/jKKJFTBBzp+wwEIpg Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQA81z7Xb2iPiv4Uz4cRArWhAJ0V8ogQyCcsylHUJMVwweWMydtEHQCdFPQL nN3UYhNMPATM5MjsvP3KRZc= =ETyc -----END PGP SIGNATURE----- --=-jp/jKKJFTBBzp+wwEIpg-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-gnome" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1020739287.343.21.camel>