🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #247787

Re: [SLRN] Can I set a 4-digit-year?

#247787
From: Adam Funk
Date: Fri, 16 Dec 2011 14:14
43 lines
2094 bytes
On 2011-12-16, rj wrote:

> My .slrnrc has:
>
> set overview_date_format "%D"
>
> and:
>
> header_display_format 0 "%F %-5S%G  %8D%-6l:  %-22r%t%s"
>
> which makes my dates look like:
>
>           12/16/11
>
> I'd prefer them to look like this:
>
>           2011/12/16
>
> but a quick scan through the strftime manpage gave me a lot of
> year-by-decimal stuff and no apparent way to set a simple 4-digit year.
> Or if it did I missed it.
>
> Is there a way to do this in slrn?

Using 

set overview_date_format  "%Y/%m/%d %H:%M"

in .slrnrc gives me

2011/12/16 08:05

in the date column of the group overview (I assume that's where you're
talking about changing the date format).  AFAICT, the date format you
want has to be put together from its components, unlike %D or %F.



-- 
Anything invented before your 15th birthday is the order of nature.
Anything invented between your 15th and 35th birthday is new and
exciting. Anything invented after that day, however, is against 
nature and should be prohibited.                    [Douglas Adams]
Technical Details
Message-ID: <ub0sr8xq7n.ln2@news.ducksburg.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.20140922.mbox.gz!border1.nntp.ams3.giganews.com!border1.nntp.ams2.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
References: <jceu4a$fep$2@reader1.panix.com>

Show Full Headers
Complete Article Headers
Message-ID: <ub0sr8xq7n.ln2@news.ducksburg.com>
Subject: Re: [SLRN] Can I set a 4-digit-year?
Date: Fri, 16 Dec 2011 14:14:54 +0000
From: Adam Funk <a24061@ducksburg.com>
References: <jceu4a$fep$2@reader1.panix.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.20140922.mbox.gz!border1.nntp.ams3.giganews.com!border1.nntp.ams2.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
Newsgroups: news.software.readers
Organization: $CABAL
Lines: 43
X-Trace: individual.net h0WOALtrlc9mVqX0KczjegCIOrz63HfyE2+naDUX98fXzXQCcR
X-Orig-Path: news.ducksburg.com!not-for-mail
Cancel-Lock: sha1:SBLtxXF9DlyFNuTWYsgqpRcZld4=
 sha1:IsKyRaRJGX2NhKpqqvOO30R+WQw=
User-Agent: slrn/pre1.0.0-26/mm/ao (Ubuntu Natty)
X-Original-Bytes: 1797