Article View: news.software.readers
Article #264946Re: Dialog global variables "ShortTimeFormat" & "LongTimeFormat" & TZ based on Date or Injection-Date?
From: bill
Date: Sat, 15 May 2021 06:55
Date: Sat, 15 May 2021 06:55
42 lines
2408 bytes
2408 bytes
On Sat, 15 May 2021 08:00:34 +0200, Bernd Rose wrote: > The idt format is the only one supporting timezone offset. It obviously > has a special handler attached in the 40tude Dialog source code. That explains what I was seeing. Thanks. No wonder I wasn't able to get it the way I had wanted it to be. BTW, the help lists "idt" but by default I see "|idt|" in the "Date Format" but when I test it out, they do the same thing (with or without the pipes). Any idea why Dialog defaults to surrounding "Date Format" idt with pipes? > All other formats follow the standard Delphi FormatDateTime function: > www.delphibasics.co.uk/RTL.asp?Name=FormatDateTime Wow. That's nice. It explains what every variable turns out to be! DateSeparator = / TimeSeparator = : ShortDateFormat = dd/mm/yyyy LongDateFormat = dd mmm yyyy TimeAMString = AM TimePMString = PM ShortTimeFormat = hh:mm LongTimeFormat = hh:mm:ss ShortMonthNames = Jan Feb ... LongMonthNames = January, February ... ShortDayNames = Sun, Mon ... LongDayNames = Sunday, Monday ... TwoDigitYearCenturyWindow = 50 http://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. Well. That's it then. I'll leave it the way it is. Thanks! -- 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:
<s7nr8c$m0$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> <s7nlh8$6l7$1@gioia.aioe.org> <hvqg2q4fnbdj.dlg@b.rose.tmpbox.news.arcor.de>Show Full Headers
Complete Article Headers
Message-ID: <s7nr8c$m0$1@gioia.aioe.org> Subject: Re: Dialog global variables "ShortTimeFormat" & "LongTimeFormat" & TZ based on Date or Injection-Date? Date: Sat, 15 May 2021 08:55:14 +0200 From: bill <bill@spam.invalid> References: <s7nji8$1l13$1@gioia.aioe.org> <s7nlh8$6l7$1@gioia.aioe.org> <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-mail Mime-Version: 1.0 X-Complaints-To: abuse@aioe.org Organization: Aioe.org NNTP Server Nntp-Posting-Host: tKMeCZpOoHFkQLaFKeAqow.user.gioia.aioe.org User-Agent: 40tude_Dialog/2.0.15.41 (51e03d8d.9.298) Content-Transfer-Encoding: 7bit Lines: 42 X-Notice: Filtered by postfilter v. 0.9.2 Content-Type: text/plain; charset="us-ascii" Newsgroups: news.software.readers