Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Apr 2002 19:32:10 -0500
From:      Larry Rosenman <ler@airmail.net>
To:        Maxim Sobolev <sobomax@FreeBSD.org>
Cc:        ade@FreeBSD.org, gnome@FreeBSD.org, freebsd-ports@FreeBSD.org
Subject:   Re: evolution 1.0.3: TZ problem with DST
Message-ID:  <20020426003210.GA3143@ler-freebie.iadfw.net>
In-Reply-To: <20020410152058.GA33015@ler-freebie.iadfw.net>
References:  <20020410143552.GA62584@ler-freebie.iadfw.net> <200204101505.g3AF5LR92134@vega.vega.com> <20020410152058.GA33015@ler-freebie.iadfw.net>

next in thread | previous in thread | raw e-mail | index | archive | help
What would it take to get this into the ports tree ????????????


* Larry Rosenman <ler@airmail.net> [020410 10:20]:
> * Maxim Sobolev <sobomax@FreeBSD.org> [020410 10:18]:
> > > 
> > > I discovered (and reported to the Evolution team) a bug where on
> > > FreeBSD the timezone is adjusted to be one hour off from reality when
> > > DST is in effect. 
> > > 
> > > The Evolution team fixed it in CVS for 1.0.4, but I don't know when it
> > > will be out.  
> > > 
> > > Can the port be modified to patch
> > > 
> > > camel/camel-mime-message.c
> > > 
> > > to remove the lines around line 212 
> > > that set offset += 100? 
> > 
> > Not a problem, but please submit a patch instead of a verbal description.
> > 
> > Thanks!
> > 
> > -Maxim
> Here is my quickie patch, I'm not sure how y'all want to do it.  it
> definately fixes FreeBSD....
> 
> 
> *** camel-mime-message.c.orig	Wed Apr 10 10:19:38 2002
> --- camel-mime-message.c	Wed Apr 10 09:31:51 2002
> ***************
> *** 209,216 ****
> --- 209,218 ----
>   		tz = -local->tm_gmtoff;
>   #endif
>   		offset = -(((tz/60/60) * 100) + (tz/60 % 60));
> + #if 0
>   		if (local->tm_isdst>0)
>   			offset += 100;
> + #endif
>   	}
>   	message->date = date;
>   	message->date_offset = offset;
> 
> -- 
> Larry Rosenman, Sr. Network Engineer, Internet America, Inc.
> E-Mail: ler@airmail.net 
> Phone: +1 214-861-2571, Fax: 214-861-2663
> US Mail: 350 N. St. Paul, Suite 3000, Dallas, TX 75201

-- 
Larry Rosenman, Sr. Network Engineer, Internet America, Inc.
E-Mail: ler@airmail.net 
Phone: +1 214-861-2571, Fax: 214-861-2663
US Mail: 350 N. St. Paul, Suite 3000, Dallas, TX 75201

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020426003210.GA3143>