Date: Thu, 22 Apr 1999 22:16:10 +0100 From: Ben Smithurst <ben@scientia.demon.co.uk> To: Greg Lehey <grog@lemis.com> Cc: freebsd-questions@freebsd.org Subject: Re: Time machine (was: Re: Books on FreeBSD (was: Differences)) Message-ID: <19990422221609.A72665@scientia.demon.co.uk> In-Reply-To: <19990422213934.E87827@freebie.lemis.com> References: <Pine.OSF.4.04.9904212207590.14054-100000@engunx.unl.edu> <19990422134113.M54567@freebie.lemis.com> <371EE8E9.99DF8A68@telspace.alcatel.fr> <19990422195004.C87827@freebie.lemis.com> <371EFF6F.89F006C1@uk.radan.com> <19990422213934.E87827@freebie.lemis.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--3MwIy2ne0vdjdPXF Content-Type: text/plain; charset=us-ascii Greg Lehey wrote: > Interesting. We're in one of the world's few half-hour time zones > (real time is UTC+0930), and it looks like the latest version of mutt > (which I installed yesterday) is broken. It just goes to show: it > doesn't have to be commercial to be broken. Thanks for drawing this > to my attention. I'll investigate and fix. This was reported on the mutt-dev list, I've attached the fix which was given, I think it's the same problem. (you'll probably have fixed it yourself when you get this). -- Ben Smithurst ben@scientia.demon.co.uk --3MwIy2ne0vdjdPXF Content-Type: message/rfc822 Return-path: <mutt-dev-owner-ben=scientia.demon.co.uk@ns.gbnet.net> Envelope-to: ben@scientia.demon.co.uk Delivery-date: Tue, 20 Apr 1999 22:08:51 +0100 Received: from punt-11.mail.demon.net ([194.217.242.34]) by scientia.demon.co.uk with smtp (Exim 2.12 #3) id 10ZhlC-000BJr-00 for ben@scientia.demon.co.uk; Tue, 20 Apr 1999 22:08:51 +0100 (envelope-from mutt-dev-owner-ben=scientia.demon.co.uk@ns.gbnet.net) Received: from punt-1.mail.demon.net by mailstore for ben@scientia.demon.co.uk id 924636825:10:24834:1; Tue, 20 Apr 99 19:33:45 GMT Received: from ns.gbnet.net ([194.70.126.10]) by punt-1.mail.demon.net id aa1126132; 20 Apr 99 19:33 GMT Received: (qmail 5722 invoked by uid 610); 20 Apr 1999 19:27:18 -0000 Received: (qmail 5362 invoked from network); 20 Apr 1999 19:25:36 -0000 Received: from riemann.iam.uni-bonn.de (postfix@131.220.223.83) by ns.gbnet.net with SMTP; 20 Apr 1999 19:25:36 -0000 Received: from sobolev.rhein.de (mathphysppp0.iam.uni-bonn.de [131.220.223.84]) by riemann.iam.uni-bonn.de (Postfix) with ESMTP id 9340666BA; Tue, 20 Apr 1999 21:28:45 +0200 (MEST) Received: by sobolev.rhein.de (Postfix, from userid 200) id 6A39FF229; Tue, 20 Apr 1999 21:27:52 +0200 (MEST) Date: Tue, 20 Apr 1999 21:27:52 +0200 From: Thomas Roessler <roessler@guug.de> To: mutt-users@mutt.org, mutt-dev@mutt.org Subject: [0.96.x, 0.95.x]: Wrong TimeZone stamp on outbound mails Message-ID: <19990420212752.A1088@sobolev.rhein.de> References: <19990420233721.F27046@comnet2.ee.iisc.ernet.in> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="bp/iNruPH9dso1Pn" User-Agent: Mutt/0.96.2i In-Reply-To: <19990420233721.F27046@comnet2.ee.iisc.ernet.in> Sender: owner-mutt-dev@mutt.org Precedence: bulk --bp/iNruPH9dso1Pn Content-Type: text/plain; charset=us-ascii This was a rather stupid bug... tlr -- http://home.pages.de/~roessler/ --bp/iNruPH9dso1Pn Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="patch-0.96.2.tlr.tzsnafu.1" Index: sendlib.c =================================================================== RCS file: /home/roessler/cvsroot/mutt/sendlib.c,v retrieving revision 2.19 diff -u -u -r2.19 sendlib.c --- sendlib.c 1999/04/12 17:34:10 2.19 +++ sendlib.c 1999/04/20 19:24:47 @@ -1153,10 +1153,12 @@ struct tm *l = localtime (&t); time_t tz = mutt_local_tz (t); + tz /= 60; + snprintf (s, len, "Date: %s, %d %s %d %02d:%02d:%02d %+03d%02d\n", Weekdays[l->tm_wday], l->tm_mday, Months[l->tm_mon], l->tm_year + 1900, l->tm_hour, l->tm_min, l->tm_sec, - tz / 3600, abs (tz) % 3600); + tz / 60, abs (tz) % 60); return (s); } --bp/iNruPH9dso1Pn-- --3MwIy2ne0vdjdPXF-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990422221609.A72665>