🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #87130

Re: Time zone for "Date" header field

#87130
From: Julien ÉLIE
Date: Fri, 23 Oct 2015 20:03
37 lines
2853 bytes
Hi Russ,

>> Then, would we just switch to use "-0000" for Date: and Injection-Date:
>> instead of "+0000"?  (and "localtime" still only affects the Date: header)
>
> I would switch to use -0000 for both unless localtime is set.  If
> localtime is set, we'd use +0000 if localtime was actually UTC.

OK, that seems the right thing to do.  I also meant to use -0000 unless 
localtime is set, though I should have made it clear in my previous 
sentence.


>> Maybe a new "serverlocaltime" parameter could be added for the
>> Injection-Date: header field, which defaults to true?
>
> I suppose we could, but I'm not sure anyone cares enough to have it be
> worth the code and documentation effort to add and maintain the option.

Noted.
So we all agree to switch to use -0000 for Date: and Injection-Date: 
unless localtime is set, for INN 2.6.1.

convdate currently also generates UTC dates with +0000.  I think we 
could use -0000 for these dates too, and therefore do not add extra 
complexity to handle a specific case for convdate.
It is the only other part of INN that generates UTC dates with that 
behaviour (signcontrol already uses -0000).  As a -0000 offset also 
indicates a UTC date, it should be OK for convdate to also use that.

-- 
Julien ÉLIE

« Pour célébrer ce jour heureux, buvons un coup, buvons-en deux. »
   (Aristophane)

Technical Details
Message-ID: <n0e3qq$1fa$1@news.trigofacile.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.(19219).mbox.7z!not-for-mail
References: <AABWJQo5TvYAABkW.A1.flnews@WStation3.stz-e.de> <n03kfj$bu7$1@news.trigofacile.com> <878u6yva05.fsf@hope.eyrie.org> <AABWJf12ObIAAAnv.A1.flnews@WStation3.stz-e.de> <87bnbtsans.fsf@hope.eyrie.org> <n0beeg$2kb$2@news.trigofacile.com> <87k2qeisv6.fsf@hope.eyrie.org> <n0bg1u$4j8$1@news.trigofacile.com> <87a8raiqa1.fsf@hope.eyrie.org>

Show Full Headers
Complete Article Headers
Message-ID: <n0e3qq$1fa$1@news.trigofacile.com>
Subject: Re: Time zone for "Date" header field
Date: Fri, 23 Oct 2015 22:03:38 +0200
From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
References: <AABWJQo5TvYAABkW.A1.flnews@WStation3.stz-e.de> <n03kfj$bu7$1@news.trigofacile.com> <878u6yva05.fsf@hope.eyrie.org> <AABWJf12ObIAAAnv.A1.flnews@WStation3.stz-e.de> <87bnbtsans.fsf@hope.eyrie.org> <n0beeg$2kb$2@news.trigofacile.com> <87k2qeisv6.fsf@hope.eyrie.org> <n0bg1u$4j8$1@news.trigofacile.com> <87a8raiqa1.fsf@hope.eyrie.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.(19219).mbox.7z!not-for-mail
Newsgroups: news.software.nntp
Organization: TrigoFACILE -- http://www.trigofacile.com/
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 23 Oct 2015 20:03:38 +0000 (UTC)
Injection-Info: news.trigofacile.com; posting-account="julien"; posting-host="aaubervilliers-651-1-154-39.w86-212.abo.wanadoo.fr:86.212.193.39";
 logging-data="1514"; mail-complaints-to="abuse@trigofacile.com"
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0)
 Gecko/20100101 Thunderbird/38.3.0
In-Reply-To: <87a8raiqa1.fsf@hope.eyrie.org>
X-Received-Body-CRC: 1006804273
X-Received-Bytes: 2845