🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #50805

Re: Format for date in Article

#50805
From: Anand Gupta
Date: Sat, 24 Feb 2001 06:12
34 lines
2009 bytes
The million dollar question then is :

How do Newsreaders extract/parse the date from the headers and show it
in a consistent format ?

Is there someplace I can get a format of top 10 (?) formats normalls
used for dates ?

Thanks.

On 23 Feb 2001 12:55:19 -0800, Russ Allbery <rra@stanford.edu> wrote:

>J B Moreno <planb@newsreaders.com> writes:
>> Anand Gupta <prence@aclindia.net> wrote:
>
>>> I would like to pick the Date header from the article body.  There are
>>> two headers that I see NNTP-posting-date: and Date: I would like to use
>>> the header which has a consistent format.  All my posts are coming from
>>> a single server. Which of the two headers can I use to have a
>>> consistent format for the date ?
>
>> Neither.  There can be some minor difference's in both depending where
>> and with what the article was created.
>
>If all the articles are coming from a single server, NNTP-Posting-Date
>should be consistent provided that that server generates it.
>
>-- 
>Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>
>
>          Please post questions rather than mailing me directly.
>     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.

Technical Details
Message-ID: <3a97507d.4531262@news.alt.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.mbox.zip!supernews.google.com!sn-xit-02!sn-xit-01!supernews.com!news.alt.net!usenet
References: <3a967c7e.37419301@news.alt.net> <230220011429399133%planb@newsreaders.com> <ylwvahunk8.fsf@windlord.stanford.edu>

Show Full Headers
Complete Article Headers
Message-ID: <3a97507d.4531262@news.alt.net>
Subject: Re: Format for date in Article
Date: Sat, 24 Feb 2001 06:12:18 GMT
From: prence@aclindia.net (Anand Gupta)
References: <3a967c7e.37419301@news.alt.net> <230220011429399133%planb@newsreaders.com> <ylwvahunk8.fsf@windlord.stanford.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!supernews.google.com!sn-xit-02!sn-xit-01!supernews.com!news.alt.net!usenet
Newsgroups: news.software.nntp
Organization: Altopia Corp. - Usenet Access - http://www.altopia.com
Lines: 33
Reply-To: prence@aclindia.net
X-Newsreader: Forte Free Agent 1.21/32.243