X-Received: by 2002:a05:6000:188b:: with SMTP id a11mr60328970wri.275.1621055850190; Fri, 14 May 2021 22:17:30 -0700 (PDT) Path: ...!news-out.google.com!nntp.google.com!proxad.net!feeder1-2.proxad.net!news.mixmin.net!aioe.org!tKMeCZpOoHFkQLaFKeAqow.user.gioia.aioe.org.POSTED!not-for-mail From: bill Newsgroups: news.software.readers Subject: Re: Dialog global variables "ShortTimeFormat" & "LongTimeFormat" & TZ based on Date or Injection-Date? Date: Sat, 15 May 2021 07:17:34 +0200 Organization: Aioe.org NNTP Server Lines: 43 Message-ID: References: NNTP-Posting-Host: tKMeCZpOoHFkQLaFKeAqow.user.gioia.aioe.org Mime-Version: 1.0 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 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Bytes: 2635 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.