🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #243630

Re: [slrn] Date header in UTC, want local time

#243630
From: Indi
Date: Sat, 04 Dec 2010 16:14
47 lines
2313 bytes
On 2010-12-04, Christian Ebert <blacktrash@gmx.net> wrote:
> * rj on Saturday, December 04, 2010:
>> When I post, or reply to, a message in slrn, the "Date" header displays the
>> time in UTC, and I'd like it to be -0500 local EST time.
>
> Not only your header display, your date header actually says:
>
>| Date: Sat, 4 Dec 2010 07:26:53 +0000 (UTC)
>
>> I have:
>> 
>> set use_localtime 3
>> 
>> in my .slrnrc but that's not doing the trick.
>
> You should not need this. Did you check the timezone on your
> machine?
>
> c

I think you have to add the generate_date_header as well.

According to TFM (http://slrn.sourceforge.net/docs/slrn-manual-6.html),

"use_localtime 

Type: integer
Default: 1

This variable determines if your local timezone is used by the "%D"
specifiers in followup_date_format and overview_date_format. The
following settings are possible: 
        0  always use GMT
        1  use local timezone in overview_date_format
        2  use local timezone in followup_date_format
        3  always use local timezone

Note: This setting does not affect the "Date:" header lines in your own
postings. They are not even generated by slrn, unless you set
generate_date_header. VMS and BeOS do not support using GMT."

 

-- 
Caveat utilitor,
indi
Technical Details
Message-ID: <8lv7ncF2u7U1@mid.individual.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!news4.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
References: <idcqft$m6g$1@reader1.panix.com> <llnps7xve1.ln2@krille.blacktrash.org>

Show Full Headers
Complete Article Headers
Message-ID: <8lv7ncF2u7U1@mid.individual.net>
Subject: Re: [slrn] Date header in UTC, want local time
Date: Sat, 04 Dec 2010 16:14:37 +0000
From: Indi <indi@satcidananda.16x108.merseine.nu>
References: <idcqft$m6g$1@reader1.panix.com> <llnps7xve1.ln2@krille.blacktrash.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!news4.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
Newsgroups: news.software.readers
Organization: the pond
Lines: 47
Reply-To: indi@127.0.0.1
X-Trace: individual.net bU/VaA5GP8KuAJEStNpb1gHTk13HNv7vudbSFioz9d6dO4mzsy
Cancel-Lock: sha1:Expo5zkvgPFXC1BJ7rDzKooa+2s=
User-Agent: slrn/pre1.0.0-26 (Darwin)
X-Original-Bytes: 2047