Article View: news.software.readers
Article #264948Re: Dialog global variables "ShortTimeFormat" & "LongTimeFormat" & TZ based on Date or Injection-Date?
From: Bernd Rose
Date: Sat, 15 May 2021 06:00
Date: Sat, 15 May 2021 06:00
28 lines
2109 bytes
2109 bytes
On Sat, 15th May 2021 07:17:34 +0200, bill wrote: > 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: [...] > 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? The idt format is the only one supporting timezone offset. It obviously has a special handler attached in the 40tude Dialog source code. All other formats follow the standard Delphi FormatDateTime function: www.delphibasics.co.uk/RTL.asp?Name=FormatDateTime What you have in mind can, IMHO, not be done with the "Attribution lines" date/time format settings. Bernd
Technical Details
Message-ID:
<hvqg2q4fnbdj.dlg@b.rose.tmpbox.news.arcor.de>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> <s7nlh8$6l7$1@gioia.aioe.org>Show Full Headers
Complete Article Headers
Message-ID: <hvqg2q4fnbdj.dlg@b.rose.tmpbox.news.arcor.de> Subject: Re: Dialog global variables "ShortTimeFormat" & "LongTimeFormat" & TZ based on Date or Injection-Date? Date: Sat, 15 May 2021 08:00:34 +0200 From: Bernd Rose <b.rose.tmpbox@arcor.de> References: <s7nji8$1l13$1@gioia.aioe.org> <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-mail Newsgroups: news.software.readers Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Injection-Info: solani.org; logging-data="1472"; mail-complaints-to="abuse@news.solani.org" User-Agent: 40tude_Dialog/2.0.15.41 (648e58b1.144.481) X-User-Id: eJwFwYkBwEAEBMCWvOuUg9B/CZlxBWPC4DA/v3TbiZccqM++YRUWNlCrt/aUMc3N6Ns8uU1XQmCrhErW92WoLRv1Y0X/ueoZVg== Cancel-Lock: sha1:D//PMuHgjI89oML7Sq6SSSiZbLI=