🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #132298

Re: [slrn] date header format

#132298
From: Dirk Nimmich
Date: Sun, 31 Aug 2003 10:15
42 lines
3084 bytes
SINNER wrote:
> * DC Wrote in news.software.readers, on 30 Aug 2003 18:25:52 GMT:
>> When viewing articles, I would like for the DATE header to automagically
>> display the post's date in local time.  As it stands, now, I have to
>> subtract 6 hours from the DATE header, as it displays GMT.
> 
>> Screenshot: http://m0053m4n.tripod.com/misc/slrn_date.png
> 
>> I posted this at 12:13:16 local time.  I would like for it to display
>> the time as such.
> 
>> It isn't just my own posts.  The majority of others' posts appear this
>> way.  This wasn't a problem in Xnews.  Can slrn do this?
> 
>> Thanks.
> 
> Well, interestingly enough, I had not looked at your example because I
> knew the setting was there. further investigation provides interesting
> information. I dont use Date as a visible header in the article pane, I
> only see the date in the HEADER display, and it shows correctly. After
> looking around and finally looking at your example, I added Date:, to my
> visible headers and interesting results ensued. In my header display,
> the time shows correctly as local time, in the article pane it shows as
> GMT.

First, I have to admit that I'm not a slrn user, so I may be wrong.
But from the description above and the images I assume that the
header_visible variable shows the actual date header (which is in
GMT or local time zone of the poster most of the time) while the
header_display_format recalculates it for displaying in local time.

This is usually a design question. Should headers in the article
pane display their actual content or somehow processed data? For the
Date header in the article pane, slrn seems to follow the first
paradigma.

For your own articles, if you don't want to have the Date header in
GMT (which is normally generated by the newsserver that cannot know
your local time zone), the generate_date_header variable seems to
help you.

Technical Details
Message-ID: <bishrg$5pm$00$1@news.t-online.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mail
References: <slrnbl1r1e.3iq.dcmoose@moosemeat.localhost.ca> <l8p721-e2p.ln1@news.gates_of_hell.INVALID>

Show Full Headers
Complete Article Headers
Message-ID: <bishrg$5pm$00$1@news.t-online.com>
Subject: Re: [slrn] date header format
Date: Sun, 31 Aug 2003 12:15:13 +0200
From: Dirk Nimmich <nimmich@muenster.de>
References: <slrnbl1r1e.3iq.dcmoose@moosemeat.localhost.ca> <l8p721-e2p.ln1@news.gates_of_hell.INVALID>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mail
Newsgroups: news.software.readers
Organization: T-Online
Lines: 41
Sender: Dirk Nimmich <dirk@roxel.fqdn.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: news.t-online.com 1062324913 00 5942 k+XiV2cSSWYeU+ 030831 10:15:13
X-Complaints-To: usenet-abuse@t-online.de
X-ID: V18aHvZBreNHZO6RwTDKMLDWofNInnpxha14mtBuELf+3RtZRiJp40