🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.free.newsservers
Article #167127

Re: Question for newsserver admins on date headers on Mixmin (Steve Crook)

#167127
From: Henry Jones
Date: Thu, 07 Jul 2016 01:45
37 lines
2589 bytes
On Wed, 6 Jul 2016 08:29:21 -0000 (UTC), Steve Crook wrote:

> The discrepancy between servers is almost certainly due to the INN
> version they're running.  Mixmin is frequently updated against the
> development branch while (I expect) the others are running a stable
> release.  You can view the relevent code for INN here:-
> https://inn.eyrie.org/trac/browser/trunk/lib/date.c
> Look for the function: parsedate_rfc5322_lax
> 
> The text on the last change to this file reads:-
> 
> "Use -0000 instead of +0000 as the time zone in generated headers not at
> Universal Time nnrpd now uses -0000 as the time zone for Date: and
> Injection-Date: header fields it generates. It was previously using
> +0000, wrongly systematically indicating a local time zone at Universal
> Time when the localtime paramater is set to false (which is the default)
> in readers.conf. The +0000 time zone will now be used only if localtime
> is set to true and UTC is really the local time zone of the server.
> Improve the documentation of readers.conf, mentioning a use case for the
> localtime parameter. Thanks to Russ for it.  convdate now similarly also
> uses -0000."
> 
> The server (by default) adds a Date header in UTC but it can be
> configured to use localtime instead.  In my case that would be confusing
> as the server runs GMT/BST to match my local time, not that of its
> location.

Thanks Steve for explaining that the latest INN versions probably use -0000
and the earlier ones probably use +0000 (which answers the original
question!).

The operative sentence is:
 "The +0000 time zone will now be used only if localtime
  is set to true and UTC is really the local time zone of the server."

Your answer explained everything.
Thanks. 
Technical Details
Message-ID: <nlkcav$vfj$1@news.mixmin.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!news.usenet.farm!..!..!not-for-mail
References: <nlck57$bg7$1@news.mixmin.net> <slrnnnmtqp.1iv.steve@fleegle.mixmin.net> <nlhruf$7sc$1@news.mixmin.net> <slrnnnpgb1.1iv.steve@fleegle.mixmin.net>

Show Full Headers
Complete Article Headers
Message-ID: <nlkcav$vfj$1@news.mixmin.net>
Subject: Re: Question for newsserver admins on date headers on Mixmin (Steve Crook)
Date: Thu, 7 Jul 2016 07:30:16 +0545
From: Henry Jones <henry@example.com>
References: <nlck57$bg7$1@news.mixmin.net> <slrnnnmtqp.1iv.steve@fleegle.mixmin.net> <nlhruf$7sc$1@news.mixmin.net> <slrnnnpgb1.1iv.steve@fleegle.mixmin.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!news.usenet.farm!..!..!not-for-mail
Newsgroups: alt.free.newsservers
Organization: Mixmin
Injection-Date: Thu, 7 Jul 2016 01:47:12 -0000 (UTC)
Injection-Info: news.mixmin.net; posting-host="665301c74137a0295ab202d46a2273a2b1583495";
Lines: 36