🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #141522

[Dialog]

#141522
From: Frank Lekens
Date: Sun, 18 Jan 2004 16:32
30 lines
1767 bytes
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'll include it here so anyone interested can check rightaway:


program OnArticleListPaint;

const Idx=4; //Position of the date/time column.

function
OnArticleListPaint(PaintString:widestring;ColumnIndex:integer):widestring;
begin
if ColumnIndex = Idx then
   PaintString := Copy(PaintString, 1, 6) + Copy(PaintString, 9, 8);

result:=paintstring;
end;

begin
end.

-- 
Frank
(xs4all dot nl is where it's really @)
Technical Details
Message-ID: <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.ash.giganews.com!border2.nntp.ash.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.wirehub.nl!news2.euro.net!transit.news.xs4all.nl!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <16jk4x86rgg92$.dlg@coconino.nl>
Subject: [Dialog]
Date: Sun, 18 Jan 2004 17:32:33 +0100
From: Frank Lekens <krazykat@operamail.invalid>
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.ash.giganews.com!border2.nntp.ash.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.wirehub.nl!news2.euro.net!transit.news.xs4all.nl!not-for-mail
Newsgroups: news.software.readers
User-Agent: 40tude_Dialog/2.0.10.1nl
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Reply-To: krazykat@xs4all.invalid
Organization: Coconino County
Lines: 30
NNTP-Posting-Date: 18 Jan 2004 17:32:06 CET
NNTP-Posting-Host: 194.109.238.18
X-Trace: 1074443526 news.xs4all.nl 318 [::ffff:194.109.238.18]:1796
X-Complaints-To: abuse@xs4all.nl