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

Liste des GroupesRevenir à ns readers 
Sujet : Re: Dialog global variables "ShortTimeFormat" & "LongTimeFormat" & TZ based on Date or Injection-Date?
De : bill (at) *nospam* spam.invalid (bill)
Groupes : news.software.readers
Organisation : Aioe.org NNTP Server
Date : 15. May 2021, 07:17:34
Message-ID : <s7nlh8$6l7$1@gioia.aioe.org>
References : 1
User-Agent : 40tude_Dialog/2.0.15.41 (51e03d8d.9.298)
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.

Date Sujet#  Auteur
01.01 o 

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal