Article View: news.software.readers
Article #56265Re: slrn y2k bug?
From: J. B. Moreno
Date: Mon, 03 Jan 2000 00:00
Date: Mon, 03 Jan 2000 00:00
69 lines
4360 bytes
4360 bytes
Curt Welch <curt@kcwc.com> wrote: > planb@newsreaders.com (J. B. Moreno) wrote: > > <greg@apple2.com> wrote: > > > > > planb@newsreaders.com (J. B. Moreno) wrote: > > > > > > > I don't think so -- most/all current software will have been > > > > replaced, with the lesson learned; when dealing with two digit years, > > > > you need to take into account the century. > > > > > > And here I was thinking the lesson was to always deal with all digits > > > of the year (currently 4). > > > > No, that's clumsy when dealing with people. > > This is a computer protocol we are talking about. And as a protocol, that's fine -- but he didn't say that when computers communicate they should use all of the digits but that they should ALWAYS be used. > > > Isn't there a working group for an update to NNTP already? If so, > > > what do they say on this issue? > > > > A list of newsgroups created since <date and time> MUST be > > listed in the same format as the LIST command. > > > > The date is sent as 6 or 8 digits in the format [XX]YYMMDD, > > where XX is the first two digits of the year, YY is the last > > two digits of the year, MM is the two digits of the month > > (with leading zero, if appropriate), and DD is the day of > > the month (with leading zero, if appropriate). If the first > > two digits of the year are not specified, the year is to be > > taken from the current century if YY is smaller than or > > equal to the current year, otherwise the year is from the > > previous century. > > This is the same wording as the August 1998 document I have in front of > me. > > DATE/NEWNEWS/NEWGROUPS should all use 4+ digit years so there's no > confusion. It's stupid to argue that the 2 digit format should remain the > "correct" way to do it. Clients and servers will just have to deal with > the backward compatibility issues for awhile (including the 100->2000 bug > caused but trying to do a "%2d" of tm->tm_year on Unix) as shown at the > beginning of this thread. As I said in another post, that sounds reasonable and the only problem is that I expect existing clients to have little reason to change this (of course in another hundred years that may not matter, just so long as any future published standard makes it clear that 4 digit is the way to go). -snip- > But this just points out how the 2 digit year makes things a lot more > complex than they need to be and for no good reason. In addition to the > complexity, it's also a typical class of bugs that tend not to be found > until years after the code is written. Clearly, everyone should just > switch to a 4 digit year format so we don't have to deal with this again > for 8K years. Like I said -- use a 1 digit year and it's solved forever, if you haven't checked in over a decade, then get the full list. -- John B. Moreno
Technical Details
Message-ID:
<1e3ubrr.9wq2f81nkv6tmN%planb@newsreaders.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mailReferences:
<slrn86sblt.poo.soma@amanda.dorsai.org> <84ledf$7q0$1@panix7.panix.com> <slrn86sund.7p1.davis@aluche.mit.edu> <slrn86timk.68q.boojum@localhost.localdomain> <yl3dsge0kg.fsf@windlord.stanford.edu> <1e3szek.esyit315td5czN%planb@newsreaders.com> <ylbt733heo.fsf@windlord.stanford.edu> <1e3t0kv.1nqyxkp1o4mbirN%planb@newsreaders.com> <ylogb31you.fsf@windlord.stanford.edu> <greg-487809.01330803012000@news.binary.net> <1e3tsdh.dhzw77p2qc82N%planb@newsreaders.com> <greg-B27D0D.11533903012000@news.binary.net> <1e3u3xu.egjhnwlhbi3kN%planb@newsreaders.com> <20000103153338.145$1T@newsreader.com>Show Full Headers
Complete Article Headers
Message-ID: <1e3ubrr.9wq2f81nkv6tmN%planb@newsreaders.com> Subject: Re: slrn y2k bug? Date: Mon, 03 Jan 2000 00:00:00 +0000 From: planb@newsreaders.com (J. B. Moreno) References: <slrn86sblt.poo.soma@amanda.dorsai.org> <84ledf$7q0$1@panix7.panix.com> <slrn86sund.7p1.davis@aluche.mit.edu> <slrn86timk.68q.boojum@localhost.localdomain> <yl3dsge0kg.fsf@windlord.stanford.edu> <1e3szek.esyit315td5czN%planb@newsreaders.com> <ylbt733heo.fsf@windlord.stanford.edu> <1e3t0kv.1nqyxkp1o4mbirN%planb@newsreaders.com> <ylogb31you.fsf@windlord.stanford.edu> <greg-487809.01330803012000@news.binary.net> <1e3tsdh.dhzw77p2qc82N%planb@newsreaders.com> <greg-B27D0D.11533903012000@news.binary.net> <1e3u3xu.egjhnwlhbi3kN%planb@newsreaders.com> <20000103153338.145$1T@newsreader.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail X-Deja-AN: 567910004 Mail-Copies-To: nobody X-ACLA-Charter: <http://www.deja.com/msgid.xp?MID=%3Cphenix-121119981748546229@roxboro0-023.dyn.interpath.net%3E&ST=&AH=1> X-Face: ]lUBtDImSD_`E"<*ZgyJUoCT\=CdRLFX4qCMLK[xy^L7v|uX|f8`cFDd*PaH8 N*x>d^h Organization: NetNews BOFH wannabe User-Agent: MacSOUP/2.4.2 Newsgroups: news.software.readers