🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #262224

Re: (dialog) %date% format of 12/07/2017 13:26 instead of Wed, 12 Jul 2017 13:26:26 +0000 (UTC)

#262224
From: Bernd Rose
Date: Thu, 13 Jul 2017 18:25
24 lines
2469 bytes
On Thu, 13 July 2017 17:27:17 +0000 (UTC), June Bug wrote:

> The key here is that the "/" didn't work like I had expected it to work
> without the quotes. Lesson learned on my part because it still doesn't work
> the way I would expect it to work 

An unquoted slash gets replaced with whatever character is defined as
date separator in your system. - From Dialog help file:
| / ... Displays the date separator character given by the DateSeparator 
| global variable.
| : ... Displays the time separator character given by the TimeSeparator 
| global variable.

The global system settings can be viewed (and changed) like described here:
www.howtogeek.com/247141/how-to-change-the-format-of-dates-and-times-in-windows

If you want a slash as divider, while your system is configured otherwise,
you need to quote that character. - Again from Dialog help file:
| Characters enclosed in single or double quotes are displayed as-is, and 
| do not affect formatting. 

It is as simple as that. No need fot "trial and error"...

Bernd
Technical Details
Message-ID: <1hxiw3vhzfcb9.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!mbox2nntp-news.software.readers.(126883).mbox.7z!not-for-mail
References: <ok695k$b3$1@gioia.aioe.org> <ok6bao$2ns$1@gioia.aioe.org> <rfv7sweat3xj$.dlg@b.rose.tmpbox.news.arcor.de> <ok8ahk$qt2$1@gioia.aioe.org>

Show Full Headers
Complete Article Headers
Message-ID: <1hxiw3vhzfcb9.dlg@b.rose.tmpbox.news.arcor.de>
Subject: Re: (dialog) %date% format of 12/07/2017 13:26 instead of Wed, 12 Jul 2017 13:26:26 +0000 (UTC)
Date: Thu, 13 Jul 2017 20:25:03 +0200
From: Bernd Rose <b.rose.tmpbox@arcor.de>
References: <ok695k$b3$1@gioia.aioe.org> <ok6bao$2ns$1@gioia.aioe.org> <rfv7sweat3xj$.dlg@b.rose.tmpbox.news.arcor.de> <ok8ahk$qt2$1@gioia.aioe.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.(126883).mbox.7z!not-for-mail
Newsgroups: news.software.readers
Organization: albasani.net
Lines: 24
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Trace: news.albasani.net fIGZq8/7CozAbp47eGVXEWnYvLqljHOArOrZxRcp10QLbQ6iqYrWJGltzAvIFaRUz+zhhc/CSaZEk7cy9M+Ao9haMIBLewz94kSlmXEn4si1yndign1imckR4rbuOEdj
NNTP-Posting-Date: Thu, 13 Jul 2017 18:25:06 +0000 (UTC)
Injection-Info: news.albasani.net; logging-data="0bdJfKWJEu/EQoYdMGnTjxso/Cyv02NPoaKOqWGluzIGOeqqwRJVZsiE4Vh8+LXgShbFks2uLs1xx+eyeS8YvBTIfWQ0Slg7iG6P95jsyTJwnr0XmK7Jt1kGmm5ssc4v"; mail-complaints-to="abuse@albasani.net"
User-Agent: 40tude_Dialog/2.0.15.41 (77417556.208.495)
Cancel-Lock: sha1:CIl0GXBGg4pfEUxtk0AVIKW7cXA=
X-Received-Bytes: 2311
X-Received-Body-CRC: 504658240