πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #87113

Re: Time zone for "Date" header field

#87113
From: Russ Allbery
Date: Thu, 22 Oct 2015 20:47
38 lines
2772 bytes
Julien Γ‰LIE <iulius@nom-de-mon-site.com.invalid> writes:

>> None of this is particularly important, so it doesn't really matter,
>> but -0000 implies that UTC is the local time zone of the server,
>> whereas +0000 doesn't carry that implication.

> Isn't it the opposite?

> Section 3.3 of RFC 5322 defines it as follows:

>    The form "+0000" SHOULD be used to indicate a time zone at
>    Universal Time.  Though "-0000" also indicates Universal Time, it is
>    used to indicate that the time was generated on a system that may be
>    in a local time zone other than Universal Time and that the date-time
>    contains no information about the local time zone.

Oh, ack, sorry!  I got turned around in the discussion and got them
backwards.

> 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.

> 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.

-- 
Russ Allbery (eagle@eyrie.org)              <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: <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
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>

Show Full Headers
Complete Article Headers
Message-ID: <87a8raiqa1.fsf@hope.eyrie.org>
Subject: Re: Time zone for "Date" header field
Date: Thu, 22 Oct 2015 13:47:50 -0700
From: Russ Allbery <eagle@eyrie.org>
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>
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: The Eyrie
Lines: 36
NNTP-Posting-Host: 96.90.234.101
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Trace: usenet-its.stanford.edu 1445546870 3452 96.90.234.101 (22 Oct 2015 20:47:50 GMT)
X-Complaints-To: news@usenet-its.stanford.edu
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)
Cancel-Lock: sha1:18oh8Ul6SDTSn0fNDjFDEhTRCFo=
X-Received-Body-CRC: 3967727572
X-Received-Bytes: 2676