🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #264943

Dialog global variables "ShortTimeFormat" & "LongTimeFormat" & TZ based on Date or Injection-Date?

#264943
From: bill
Date: Sat, 15 May 2021 04:43
39 lines
2179 bytes
Dialog: Help > Help Contents > Reference > Date-Time Format Strings
talks about global variables but I can't find _where_ they are defined!

Some of the global variables are obvious as to what they must be:
 ShortDayNames global variable
 LongDayNames global variable

 ShortMonthNames global variable
 LongMonthNames global variable

 TimeAMString global variable
 TimePMString global variable

 DateSeparator global variable
 TimeSeparator global variable

But others I'm not so sure what the global variable is set to:
 ShortDateFormat global variable
 LongDateFormat global variable

 ShortTimeFormat global variable
 LongTimeFormat global variable

So how do you know what they are (and how would I change them)?

(I'm having problems getting the date & timezone offset the way I like.)
 On 2021-05-14 01:02:03 +0400, foo bar wrote:

If I set Dialog attribution "followup" & "date format" to this:
 On %date%, %full-name% wrote:\n
 yyyy"-"mm"-"dd hh:nn:ss
I get this which is close to what I want but where's the tz offset?
 On 2021-05-14 01:02:03, foo bar wrote:
 
All I want is to figure out how to add the timezone offset.
(and is that tz offset the offset from the "Date" or "Injection-Date"?)
-- 
Have you read the article about broken pencils?
I hope not, the reviewers said it's pointless and lead on for too long.
Technical Details
Message-ID: <s7nji8$1l13$1@gioia.aioe.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <s7nji8$1l13$1@gioia.aioe.org>
Subject: Dialog global variables "ShortTimeFormat" & "LongTimeFormat" & TZ based on Date or Injection-Date?
Date: Sat, 15 May 2021 06:43:57 +0200
From: bill <bill@spam.invalid>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
Nntp-Posting-Host: tKMeCZpOoHFkQLaFKeAqow.user.gioia.aioe.org
X-Notice: Filtered by postfilter v. 0.9.2
Lines: 39
X-Complaints-To: abuse@aioe.org
Organization: Aioe.org NNTP Server
Newsgroups: news.software.readers
Content-Type: text/plain; charset="us-ascii"
User-Agent: 40tude_Dialog/2.0.15.41 (51e03d8d.9.298)
Mime-Version: 1.0
Content-Transfer-Encoding: 7bit