Article View: news.software.readers
Article #264947Re: Dialog global variables "ShortTimeFormat" & "LongTimeFormat" & TZ based on Date or Injection-Date?
From: bill
Date: Sat, 15 May 2021 05:17
Date: Sat, 15 May 2021 05:17
43 lines
2506 bytes
2506 bytes
On Sat, 15 May 2021 06:43:57 +0200, bill wrote: > (I'm having problems getting the date & timezone offset the way I like.) > On 2021-05-14 01:02:03 +0400, foo bar wrote: I figured out how to know what the ShortDateFormat is set to by using ddddd Which shows in the attribution a ShortDateFormat of On 5/14/2021, foo bar wrote: Adding one more "d" character seems to identify the LongDateFormat dddddd Which shows in the attribution a LongDateFormat of On Friday, May 14, 2021, foo bar wrote: Likewise the character "t" seems to identify the ShortTimeFormat variable t Which shows in the attribution a ShortTimeFormat of On 1:02 AM, foo bar wrote: Adding one more "t" character seems to identify the LongTimeFormat tt Which shows in the attribution a LongTimeFormat of On 1:02:03 AM, foo bar wrote: None of which added the time zone offset which was what I am looking for. On 2021-05-14 01:02:03 +0400, foo bar wrote: So that global variable wasn't the secret to adding the tz offset. Of course I can use "idt" (or |idt|) to add a timezone offset |idt| Which shows in the attribution an offset but with a different date format On Fri, 14 May 2021 01:03:03 +0400, foo bar wrote: From the date format that I want, which is On 2021-05-14 01:02:03 +0400, foo bar wrote: Do you know how to add the timezone offset to the attribution? On 2021-05-14 01:02:03 +0400, foo bar wrote: And will that offset be based on the Date: or the Injected-Date: header? -- I've been using up the ink in all the pens and all the lead in our pencils. Makes my wife's Christmas wish list much shorter.
Technical Details
Message-ID:
<s7nlh8$6l7$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-mailReferences:
<s7nji8$1l13$1@gioia.aioe.org>Show Full Headers
Complete Article Headers
Message-ID: <s7nlh8$6l7$1@gioia.aioe.org> Subject: Re: Dialog global variables "ShortTimeFormat" & "LongTimeFormat" & TZ based on Date or Injection-Date? Date: Sat, 15 May 2021 07:17:34 +0200 From: bill <bill@spam.invalid> References: <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 Newsgroups: news.software.readers Organization: Aioe.org NNTP Server Lines: 43 Nntp-Posting-Host: tKMeCZpOoHFkQLaFKeAqow.user.gioia.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org User-Agent: 40tude_Dialog/2.0.15.41 (51e03d8d.9.298) X-Notice: Filtered by postfilter v. 0.9.2