Re: Timezone in Reply

Dan Grunberg <[email protected]>
Newsgroups gmane.mail.the-bat.devel
Message-ID <[email protected]>
Sun, 14 Nov 2004 13:51:08 -0800 (4:51 PM EST here) Mike Dillinger wrote:

> I'm trying to write a QT to put the timezone in my replies.  This is
> what I have so far:

> %SETPATTREGEXP="(?m-s)^Date\:\s*?((.*?[\d]{4})\s*?([\d]{0,2}\:%-
> [\d]{0,2}\:[\d]{0,2})\s*?(.*))"%-
> %GmtOffset='%REGEXPBLINDMATCH="%HEADERS"%Subpatt="4"'%-
> %if:"%GmtOffset='-0800'":"%TimeZone='PST'":"%TimeZone='PDT'"%-

> I'm doing something wrong I'm sure.  I don't know what it is.  Can
> someone help me out?  I just get blank when I print %TimeZone.

If the time zone you want is your time zone, you might want to look at

http://cgi.marck.free-online.co.uk/library.php




Using: The Bat! v2.12.00, BayesIt! 0.5.9,
       MyMacros 1.11, gMacrosPlugin 0.80
       Windows XP v5.1 - Build 2600 - Service Pack 2



-- 

Daniel A. Grunberg       Kensington, Maryland, USA
homepage: www.nyx.net/~dgrunber/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.