Date: Mon, 14 Aug 1995 19:50:21 +0200 (MET DST) From: J Wunsch <j@uriah.heep.sax.de> To: paul@FreeBSD.org Cc: peter@haywire.DIALix.COM, bugs@freefall.FreeBSD.org Subject: Re: List of open Problem Reports Message-ID: <199508141750.TAA13546@uriah.heep.sax.de> In-Reply-To: <199508141112.MAA00702@server.netcraft.co.uk> from "Paul Richards" at Aug 14, 95 12:12:18 pm
next in thread | previous in thread | raw e-mail | index | archive | help
As Paul Richards wrote: > > > >[PDT/08/01] kern/647 Sound cards fail to work > > ^^^ > > > > Looks like the new (gnew? :-) GNATS is picking the wrong field out of > > a `date` somewhere.. > > > > Hmm, yes, this is one my list of gnats problems. I don't think this > is serious enough at the moment drop back from the beta code but if > people think so I will. I'll manually change these to 1995 when I get the > chance. Hmm, GNATS appears to emit a timezone now... Apply the following patch to send-bug-summary on freefall: --- send-bug-summary~ Sat Jul 8 13:49:35 1995 +++ send-bug-summary Mon Aug 14 19:48:01 1995 @@ -20,6 +20,8 @@ $number = &getline($_); } elsif (/Arrival-Date:/) { $date = &getline($_); + # strip timezone if any (between HH:MM:SS and YYYY at end of line): + $date =~ s/(\d\d:\d\d:\d\d)\D+(\d{4})$/\1 \2/; ($dow,$mon,$day,$time,$year) = split(/[ \t]+/, $date); $day = "0$day" if $day =~ /^[0-9]$/; $date = "$year/$mons{$mon}/$day"; -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ Never trust an operating system you don't have sources for. ;-)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199508141750.TAA13546>