🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.notes
Article #136

Re: Modification for 2.10 news feed - (nf)

#136
From: utzoodecvaxharpoeaglemhtsaalicen...
Date: Thu, 31 Mar 1983 10:17
28 lines
1129 bytes
#R:ihlpf:7700003:ihlpf:7700004:  0:641
ihlpf!nickles    Mar 31 10:14:00 1983

And another thing:

The new date format (from some obscure standard?), looks like

Thu, 31-Mar-83 08:54:11 CST

instead of

Thu Mar 31 08:54:11 1983		(ctime(3) format, a normal standard).


	To fix this, change lines 21-24 of datein.c to read:

    if ((sscanf (line, "%[^ ]%hd %hd:%hd:%hd %hd", month, &day, &hour,
		&min, &sec, &year) != 6) &&  		/* old format? */
	 (sscanf (line, "%hd-%[^-]-%hd %hd:%hd:%hd", &day, month, &year,
		&hour, &min, &sec) != 6))		/* 2.10 format? */
	return - 1;					/* bad date parsed */

    if (year < 1000)
	year += 1900;				/* kludge for new format */


						Jack Nickles
						[...ihnss!] ihlpf!nickles
Technical Details
Message-ID: <bnews.ihlpf.120>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
From: utzoo!decvax!harpo!eagle!mhtsa!alice!npoiv!npois!houxm!houxz!ihnp4!ihlpf!nickles
Newsgroups: net.notes
Title: Re: Modification for 2.10 news feed - (nf)
Article-I.D.: ihlpf.120
Posted: Thu Mar 31 10:17:28 1983
Received: Fri Apr  1 06:39:46 1983
Subject: Re: Modification for 2.10 news feed - (nf)
Date: Thu, 31 Mar 1983 10:17:28 +0000
Message-ID: <bnews.ihlpf.120>