🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #81281

Re: Cleanfeed Update

#81281
From: John F. Morse
Date: Fri, 05 Jun 2009 19:57
49 lines
2911 bytes
Steve Crook wrote:
> On Fri, 05 Jun 2009 16:50:29 +0200, Aioe wrote in
> Message-Id: <h0bbbv$6mu$2@aioe.org>:
>
>   
>> could you number your releases in some way?
>> a version number helps to remember when it's the time to update
>>     
> There's a subversion Id string in the header of the Cleanfeed file
> itself.  For the current release:
> $Id: cleanfeed 227 2009-06-05 11:49:33Z cleanfeed $
>
> If you think this is insufficient, I'm happy to create a version string.
>   


The problem I see in that string, is the date is ambiguous. For
instance, is it "American" or "European"? (It even conflicts with the
totally backwards and mixed attribute format used by your slrn.)

The question arises: is it May 6, or is it June 5? Of course June 5 is
today, and reading enough of this article would make one believe it is,
in fact, today's date.

But what if someone downloads Cleanfeed a few months from now, and
wonders which type of date format was used by Subversion? Is it derived
from a system date (locale) preference? If so, what locale? ;-)

To make it unambiguous, I'd suggest the "big-endian" format, which is
the ISO 8601 format, placing the most significant data first:

http://en.wikipedia.org/wiki/ISO_8601

YYYYMMDD HHMMSS Z (hyphens were not used here for any clarity, and they
not required http://en.wikipedia.org/wiki/ISO_8601#General_principles )

The hyphens actually create confusion as mentioned above. Without them,
there should never be any question whether ISO 8601 ("big-endian") dates
are used.

You also gain easy sorting and ordering, and could assign the date-time
string as an integer or floating-point instead of a text string value.

Unless you can churn out more than one version per second, that should
suffice. ;-)


-- 
John
Technical Details
Message-ID: <h0btbi$dhd$1@optima7.xanadu-bbs.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!goblin3!goblin.stu.neva.ru!optima7.xanadu-bbs.net!not-for-mail
References: <slrnh2i35j.77m.steve@news.mixmin.net> <h0bbbv$6mu$2@aioe.org> <slrnh2ins3.77m.steve@news.mixmin.net>

Show Full Headers
Complete Article Headers
Message-ID: <h0btbi$dhd$1@optima7.xanadu-bbs.net>
Subject: Re: Cleanfeed Update
Date: Fri, 05 Jun 2009 14:57:38 -0500
From: "John F. Morse" <xanadu.bbs@example.invalid>
References: <slrnh2i35j.77m.steve@news.mixmin.net> <h0bbbv$6mu$2@aioe.org> <slrnh2ins3.77m.steve@news.mixmin.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!goblin3!goblin.stu.neva.ru!optima7.xanadu-bbs.net!not-for-mail
Newsgroups: news.software.nntp
Organization: Xanadu BBS
Lines: 49
Reply-To: dont.bother
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Trace: optima7.xanadu-bbs.net 1244231858 13869 192.168.89.210 (5 Jun 2009
X-Complaints-To: newsmaster@xanadu-bbs.net
NNTP-Posting-Date: Fri, 5 Jun 2009 19:57:38 +0000 (UTC)
User-Agent: Thunderbird 2.0.0.21 (X11/20090318)
In-Reply-To: <slrnh2ins3.77m.steve@news.mixmin.net>