🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #61549

[slrn] Can I change the date format for %d ?

#61549
From: Nollaig MacKenzie
Date: Sun, 14 May 2000 00:00
25 lines
1255 bytes
For followups, I'd like the attribution
line to start "On <such and such date>,
<so and so> said:" If I set the string as
"On %d %f said:", I get this date format:

	Fri, 12 May 2000 12:55:03 GMT

It would be nice to be able to get something 
shorter, say:

	2000.05.12 12:55:03

that is, the output of 

	date +"%Y.%m.%d %T"

I don't see anything in the docs saying that
I can do that. Have I missed something?

TIA, N.
-- 
Nollaig MacKenzie :: nollaig@amhuinnsuidhe.cx
http://www.amhuinnsuidhe.cx

Technical Details
Message-ID: <slrn8hu687.3kc.nollaig@amhuinnsuidhe.cx>
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!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <slrn8hu687.3kc.nollaig@amhuinnsuidhe.cx>
Subject: [slrn] Can I change the date format for %d ?
Date: Sun, 14 May 2000 00:00:00 +0000
From: nollaig@amhuinnsuidhe.cx (Nollaig MacKenzie)
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!not-for-mail
X-Deja-AN: 623371540
X-Trace: news20.bellglobal.com 958339501 216.209.51.54 (Sun, 14 May 2000 17:25:01 EDT)
Organization: Sympatico
User-Agent: slrn/0.9.5.7 (UNIX)
Reply-To: nollaig@amhuinnsuidhe.cx
NNTP-Posting-Date: Sun, 14 May 2000 17:25:01 EDT
Newsgroups: news.software.readers