From owner-freebsd-gnome Mon May 6 19:36:58 2002 Delivered-To: freebsd-gnome@freebsd.org Received: from barry.mail.mindspring.net (barry.mail.mindspring.net [207.69.200.25]) by hub.freebsd.org (Postfix) with ESMTP id 5F8DD37B407 for ; Mon, 6 May 2002 19:36:55 -0700 (PDT) Received: from lsanca1-ar6-4-35-071-054.elnk.dsl.gtei.net ([4.35.71.54] helo=netcom1.netcom.com) by barry.mail.mindspring.net with esmtp (Exim 3.33 #1) id 174uqT-0006fo-00; Mon, 06 May 2002 22:36:54 -0400 Received: by netcom1.netcom.com (Postfix, from userid 1000) id 7FDB813111; Mon, 6 May 2002 19:36:52 -0700 (PDT) From: Mike Harding To: marcus@marcuscom.com Cc: gnome@FreeBSD.ORG In-reply-to: <1020456454.84489.1.camel@gyros.marcuscom.com> (message from Joe Marcus Clarke on 03 May 2002 16:07:34 -0400) Subject: Re: I still have a problem with evolution timezone References: <20020502151714.65AE013107@netcom1.netcom.com> <1020456454.84489.1.camel@gyros.marcuscom.com> Message-Id: <20020507023652.7FDB813111@netcom1.netcom.com> Date: Mon, 6 May 2002 19:36:52 -0700 (PDT) Sender: owner-freebsd-gnome@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG This indeed seems to display the correct time. What does Linux do differently? - Mike H. From: Joe Marcus Clarke 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=-7.1 required=5.0 tests=IN_REP_TO,UNIFIED_PATCH,AWL version=2.20 X-Spam-Level: --=-l1VkcATLVe400NwgjmnI Content-Type: text/plain Content-Transfer-Encoding: 7bit On Thu, 2002-05-02 at 11:17, Mike Harding wrote: > > I have applied the patch discussed earlier, and also rebuilt the port > today after refreshing my ports tree, but the displayed time is still > an hour off. If I get the mail via emacs the time is correct. Anyone > else having this problem? The only thing I can think of is that I as > using wall clock as the system is dual boot, and I am using ntpd so my > clock is locked down... This took a while to track down, but I think I fixed it. Please let me know if the attached patch works for you. Just drop this in mail/evolution/files, and rebuild Evo. Joe > > My timezone is reported as... > > $ date > Thu May 2 08:15:44 PDT 2002 > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-gnome" in the body of the message > -- PGP Key: http://www.marcuscom.com/pgp.asc --=-l1VkcATLVe400NwgjmnI Content-Disposition: attachment; filename=patch-camel_camel-mime-utils.c Content-Transfer-Encoding: quoted-printable Content-Type: text/x-c; name=patch-camel_camel-mime-utils.c; charset=ISO8859-1 --- 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 =3D %d\n", offset)); } =20 + tm.tm_isdst =3D -1; + t =3D mktime(&tm); #if defined(HAVE_TIMEZONE) t -=3D timezone; --=-l1VkcATLVe400NwgjmnI-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-gnome" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-gnome" in the body of the message