Hello All,
Thought this might be of interest to some.
Following is adapted from what found from FAQ. The difference is that only
when you are in the different timezone from the message sender, your
locale time will be displayed. I find it is less cluttering this way.
Enjoy.
----- start of QT, don't include this line ----------
%WRAPPED='%-
%-
%REM="match date and time"%-
%-
%SETPATTREGEXP="(?m-s)Date\:(?(?=.*?,).*?,)\s*0?(.*?[\d]{4}\s*%-
[\d]{0,2}\:[\d]{0,2}\:[\d]{0,2}).*?([+-][\d]{4})?"%-
%REGEXPBLINDMATCH="%HEADERS"%-
On %SUBPATT="1" %SUBPATT="2"%-
%-
%REM="is it the same timezone as mine"%-
%IF%-
:%-
"%SETPATTREGEXP=''(?m-s)Date\:(?(?=.*?,).*?,).*?[\d]{4}\s*%-
0?([\d]{0,2})\:[\d]{0,2}\:[\d]{0,2}''%-
%REGEXPBLINDMATCH=''%HEADERS''%-
%SUBPATT=''1''"<>"%OTIME=''h''"%-
:%-
" (my local time %-
%-
%REM=''is it the same date''%-
%IF%-
:%-
''%SETPATTREGEXP=""(?m-s)Date\:(?(?=.*?,).*?,)\s*0?([\d]{0,2}).*?[\d]{4}\s*%-
[\d]{0,2}\:[\d]{0,2}\:[\d]{0,2}""%-
%REGEXPMATCH=""%HEADERS""''<>''%OTIME=""d""''%-
:%-
''%ODATE=""d mmm yyyy hh:nn:ss""''%-
:%-
''%ODATE=""hh:nn:ss""''%-
%-
%REM=''end of inner IF''%-
)"%-
:%-
""%-
%REM="end of outer IF"%-
, %OFROMNAME wrote'
------ end of QT, don't include this line -------------
--
Regards, Anthony
________________________________________________________
Current Ver: 1.60q
FAQ : http://faq.thebat.dutaint.com
Unsubscribe: mailto:[EMAIL PROTECTED]
Archives : http://tbudl.thebat.dutaint.com
Moderators : mailto:[EMAIL PROTECTED]
TBTech List: mailto:[EMAIL PROTECTED]
Bug Reports: https://www.ritlabs.com/bt/