Article View: news.software.readers
Article #141525Re: [Dialog]
From: foxidrive
Date: Sun, 18 Jan 2004 16:58
Date: Sun, 18 Jan 2004 16:58
26 lines
2544 bytes
2544 bytes
On Sun, 18 Jan 2004 17:32:33 +0100, Frank Lekens wrote: > I've tried out this script to change the date notation in the date column: > http://40tude.com/dialog/wiki/index.php/ScriptTwoDigitYear > > For me it doesn't work. Instead of '18-01-04' or '18-1-04', the date is now > displayed as '18-1-24'. > > Is something wrong with the script maybe? I suspect the author of the script uses a date format with 2 digits for day and month (18/01/2004) as the script (I'm extrapolating from basic - I don't know pascal) simply takes the left 6 characters (18/01/) and the 8 characters from position 9 onward (04 03:46) to paint onto the screen. Your date format seems to use 1 digit for day/month so the first 6 characters are (18-1-2) and the other 8 characters are probably (4 03:46:) which becomes (18-1-24 03:46:). The solution? As I said, I don't know pascal, but the script needs to locate the separators and calculate the correct day/month/year/time positions. You could change your system date format to dd-mm-yyyy which will allow the script to work, or maybe even to dd-mm-yy which dialog should also then use.
Technical Details
Message-ID:
<wkdwnbaov1ug.mx23ia318zs4$.dlg@40tude.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!intern1.nntp.aus1.giganews.com!internal1.nntp.sjc.giganews.com!border2.nntp.sjc.giganews.com!nntp.giganews.com!feed2.news.rcn.net!feed1.news.rcn.net!rcn!news.maxwell.syr.edu!news1.optus.net.au!optus!news.optus.net.au!53ab2750!not-for-mailReferences:
<16jk4x86rgg92$.dlg@coconino.nl>Show Full Headers
Complete Article Headers
Message-ID: <wkdwnbaov1ug.mx23ia318zs4$.dlg@40tude.net>
Subject: Re: [Dialog]
Date: Sun, 18 Jan 2004 16:58:19 GMT
From: foxidrive <foxidrive@Shotmail.com>
References: <16jk4x86rgg92$.dlg@coconino.nl>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!intern1.nntp.aus1.giganews.com!internal1.nntp.sjc.giganews.com!border2.nntp.sjc.giganews.com!nntp.giganews.com!feed2.news.rcn.net!feed1.news.rcn.net!rcn!news.maxwell.syr.edu!news1.optus.net.au!optus!news.optus.net.au!53ab2750!not-for-mail
Newsgroups: news.software.readers
User-Agent: 40tude_Dialog/2.0.10.1 (82190aa8.459.46)
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Face: ,C9+5-,tl2P/lP`;
cakJqFV\gH+G#W0'-Lv=V>t6AGNr]v#I0OP(s1vQKTHxfUbKjDTZ+ku x5\8h8)C{:;
Vsp5C{C'k<v!~ox#IOg*%^+
X-Original-NNTP-Posting-Host: 220.240.67.61
X-Original-Trace: 19 Jan 2004 03:58:18 +1100, 220.240.67.61
Lines: 26
NNTP-Posting-Host: 203.194.27.1
X-Complaints-To: abuse@comindico.com.au
X-Trace: news.optus.net.au 1074445099 203.194.27.1 (Mon,
NNTP-Posting-Date: Mon, 19 Jan 2004 03:58:19 EST
Organization: Comindico Australia - reports relating to abuse should be sent
to abuse@comindico.com.au