G'day tbudl,
G'day all.
One of our fellow list members kindly provided me with the below setup.
What it outputs currently is the following:
On Mon, 9 Aug 2004, at 19:17:07 [GMT+0800] (which was 21:17:07 Australian
Eastern Time) you wrote:
What I'd like it to give me is:
At 21:17 [GMT+1000] on Monday Aug 09 (Actual time - 19:17 Monday in Perth,
Western Australia) you wrote:
Which is to say, I'd like to remove the seconds and change some formats, but
I'm completely clueless as to how to do that. (I can deal with the simpler
stuff, but this is WAY over my head.)
However, I know (because I've had and seen much tougher questions than this
answered here every day :-) that I can find out here.
Ta.
Actually - could it give the following?
At 21:17 [GMT+1000] on Monday Aug 09 (Actual time - 7:17pm on Monday evening
in Perth, Western Australia) you wrote:
With the 'evening' bit changing depending on the time of day? (ie 0-11 =
"morning", 12-16 = "afternoon", 17-20 = "evening", 21-23 = "night")
Or is that just being stupid(er)?
======================================
%WRAPPED='%SETPATTREGEXP="(?m-s)^Date:\s*(((.*?),.*?[\d]{4})\s*([\d]{0,2}:%-
[\d]{0,2}:[\d]{0,2})\s*(.*))"%-
%REGEXPBLINDMATCH="%HEADERS"%-
On %SUBPATT="2", at %SUBPATT="4" [GMT%SUBPATT="5"] %-
(which was %-
%IF:_%SUBPATT="3"_<>_%ODate="ddd"_%-
:_%ODate="ddd, h:mm:ss"_%-
:_%ODate="h:mm:ss"_ Australian Eastern Time) you wrote:'
--
cheers, Mic (return address works) 1. Never tell everything at once."
Ken Venturi, Ken Venturi's Two Great Rules of Life
________________________________________________
Current version is 2.12.00 | 'Using TBUDL' information:
http://www.silverstones.com/thebat/TBUDLInfo.html