Article View: news.software.readers
Article #149664Re: [Dialog] Date and Time
From: MLC
Date: Thu, 10 Jun 2004 07:29
Date: Thu, 10 Jun 2004 07:29
37 lines
2278 bytes
2278 bytes
giovedรฌ 10/giu/2004 _Thomas Edison_ ha scritto:
> Is there any way of making the display of the time that a message was sent
> (in the message list) _not_ show seconds?
>
> e.g. on my screen I see:
> 09/06/2004 14:46:12
>
> Is there any way to remove the ":12".
Yes, with a script in the OnArticleListPaint event.
(write your correct settings in the const section and remove the leading ||)
|| program OnArticleListPaint;
|| const
|| colDate = 5; //count the columns from left to right starting
|| //from 0 and write here the number of the column Date
|| dateFmt = 'dd/mm/yyyy hh:mm'; //or yy (instead of yyyy) for a 2 digits year
|| function OnArticleListPaint(PaintString:widestring; ColumnIndex:integer):widestring;
|| var fmt : String;
|| begin
|| if ColumnIndex = colDate then fmt := dateFmt;
|| PaintString := FormatDateTime(fmt, StrToDateTime(PaintString));
|| result := PaintString;
|| end;
|| begin
|| end.
--
Maria Luisa C - 10/06/2004 9.07.01
Technical Details
Message-ID:
<198riihzxidak.dlg@ID-187316.user.uni-berlin.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.20140922.mbox.gz!number1.nntp.dca.giganews.com!internal1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!fu-berlin.de!uni-berlin.de!not-for-mailReferences:
<t7rptqrrzyoj.1sfxhx6bpl1y9$.dlg@40tude.net>Show Full Headers
Complete Article Headers
Message-ID: <198riihzxidak.dlg@ID-187316.user.uni-berlin.de>
Subject: Re: [Dialog] Date and Time
Date: Thu, 10 Jun 2004 09:29:44 +0200
From: MLC <maluc52@yahoo.it>
References: <t7rptqrrzyoj.1sfxhx6bpl1y9$.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!number1.nntp.dca.giganews.com!internal1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!fu-berlin.de!uni-berlin.de!not-for-mail
Newsgroups: news.software.readers
Organization: none
Lines: 37
Reply-To: mlcald@msn.com
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: news.uni-berlin.de ISM7oVijay/iiir1f6rb4w4/iGkzVGVrwa53zhwdGbiAe/OvFx
User-Agent: 40tude_Dialog/2.0.12.1it (7d5d50e0.134.337)
X-face: "_`BebNyH3z79S[l:t"2a9GY9-_H/\rn+w6efDUrCs}1<S;
zS<oZRXwGq%W)i$AGy<uFJZV
<[E<KqZHxcPjl&amq0{QSZY]BXW<eyM30#3p[UHT(7itrI>A#6wM~6<f`-SRD.w}%wsT=,.Cv.-ljs
`)v601`*Q7: