Article View: news.software.readers
Article #141596Re: [Dialog]
From: Frank Lekens
Date: Mon, 19 Jan 2004 09:51
Date: Mon, 19 Jan 2004 09:51
47 lines
3476 bytes
3476 bytes
Op Mon, 19 Jan 2004 09:29:10 GMT schreef foxidrive: > On Sun, 18 Jan 2004 20:30:34 +0100, Frank Lekens wrote: > >> Thanks anyway. The additional benefit of getting rid of the seconds is nice > > If it is of interest this script modifies the date & time column and: > > a) removes the century > b) removes the seconds > c) retains AM/PM indicators, if present. > d) pads the front of the date for day/month with only a single digit > e) pads the front of the time for hours that only have a single digit. > > The latter two items are most noticeable with a monospaced/non proportional font, such as courier new. > It may not be pretty with a proportional font, so if you want to remove the padding then change > all three occurances of ' ' to ''. > > It should handle many locale variations of day month yyyy or month day yyyy, with either single or double digits, > and also handle either military or civilian time, but YMMV. > > Feel free to modify, spindle or mutilate. :) Thanks a lot. I've removed the padding (don't use Courier) and it works fine. One strange thing, though -- I wonder whether this has more to do with the way Dialog works than the way this script works: sometimes the old, fuller notation will reappear, especially when I shift the size of the date column. It's a somewhat ghostly phenomenon: if I drag the arrow to change the size of the column (e.g. increase it), when I've finished the notation changes back to the old, fuller notation (except, I now see, for one single post which retains the cropped notation!). Then when I change the column size again, the new, cropped notation appears as long as I'm dragging the arrow for the column width. But as soon as I release the arrow, the old, fuller notation reappears again. Then, when I go to a different newsgroup, the new notation appears again, and when I go back to this group, all is well again and the new, cropped notation is displayed here as well. Weird, huh? (Not that it really bothers me, because I don't really make a habit of dragging the column size about all the time.) -- Frank (xs4all dot nl is where it's really @)
Technical Details
Message-ID:
<1kknzoo7dxigj.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!transit.news.xs4all.nl!not-for-mailReferences:
<16jk4x86rgg92$.dlg@coconino.nl> <wkdwnbaov1ug.mx23ia318zs4$.dlg@40tude.net> <1854n4rci62rw$.dlg@coconino.nl> <10gow37wesbhr$.dlg@ID-187316.user.uni-berlin.de> <zrin1f3t8eat$.dlg@coconino.nl> <1dpqs1kbgpsde.2d2wz41wan7k$.dlg@40tude.net>Show Full Headers
Complete Article Headers
Message-ID: <1kknzoo7dxigj.dlg@coconino.nl> Subject: Re: [Dialog] Date: Mon, 19 Jan 2004 10:51:53 +0100 From: Frank Lekens <krazykat@operamail.invalid> References: <16jk4x86rgg92$.dlg@coconino.nl> <wkdwnbaov1ug.mx23ia318zs4$.dlg@40tude.net> <1854n4rci62rw$.dlg@coconino.nl> <10gow37wesbhr$.dlg@ID-187316.user.uni-berlin.de> <zrin1f3t8eat$.dlg@coconino.nl> <1dpqs1kbgpsde.2d2wz41wan7k$.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!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 X-No-Productlinks: yes Lines: 47 NNTP-Posting-Date: 19 Jan 2004 10:51:41 CET NNTP-Posting-Host: 194.109.238.18 X-Trace: 1074505901 news.xs4all.nl 323 [::ffff:194.109.238.18]:3498 X-Complaints-To: abuse@xs4all.nl