Re: Anomaly automatically generating my local time zone, when I reply to AOL user's messages

2004-01-15 Thread Dan Grunberg
Fri, 9 Jan 2004 15:11:42 -0800 (6:11 PM EST here) Januk Aggarwal wrote:

 On Friday, January 9, 2004 at 12:49 GMT -0600, dancing erupted as
 Terry L Fritts tapped:

 involve a short plugin macro that just reads  returns the info
 from the Windows registry (it must be there somewhere).  I haven't
 yet attempted to learn how to make plugins, so that's why I sent
 Dan here.

 can be obtained from registry - see:
 HKLM\System\CurrentControlSet\Control\TimeZoneInformation

 Dan,
 you can use the MyMacros plugin,
 http://en.barin.com.ua/soft/mymacros/. Specifically, the %RegRead
 macro would seem to be your best bet. You can get the ActiveTimeBias
 registry entry:
 HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation\ActiveTimeBias

 That should give you the offset in minutes.  From there, you can use
 a simple %IF statement to convert it into either the standard time
 or daylight time acronym.

 It'll be much easier than the complicated mess of templates we had
 before.

Thanks Terry and Januk for starting me thinking again.

The downloaded MyMacros plugin's %RegRead did make the whole local
time zone thing MUCH more straightforward. Then I started thinking
about the AOL anomaly. I decided that the AOL anomaly really was the
Dan Grunberg anomaly.

I changed my system of templates, eliminating the GMT that used to
appear in:
Fri, 9 Jan 2004 15:11:42 GMT -0800 (6:11 PM EST here) Januk wrote:
Now what appears is:
Fri, 9 Jan 2004 15:11:42 -0800 (6:11 PM EST here) Januk wrote:

Now, when I answer an AOL originated message, what appears is:
Wed, 5 Nov 2003 07:48:30 EST (7:48 AM EST here) AOLuser wrote:











Using: The Bat! v2.02.3 CE 
   Windows 2000 v5.0 - Build 2195 - Service Pack 4



-- 

Daniel A. Grunberg   Kensington, Maryland, USA
homepage: www.nyx.net/~dgrunber/




http://www.silverstones.com/thebat/TBUDLInfo.html


Re: Anomaly automatically generating my local time zone, when I reply to AOL user's messages

2004-01-09 Thread Alexander Leschinsky
Hello Dan,

   On Wed, 3 Sep 2003 09:31:30 -0400 (03.09.2003 18:31 my local time)
   you wrote about Anomaly automatically generating my local time zone, when I reply 
to AOL user's messages
   at least in part:

DG Does anyone have any ideas about how to fix the AOL anomaly?
Well, only idea

Before working with sender tomezone directly (as subpatt), you have test
TZ string or non-numeric character in second position and if it's AOL, using
additional qt convert it to RFC TZ

My tzname QT for converting numerical TZ to names

You have use correct names and revert columns in data-engine

-8-- from WinClipboard
%SetPattRegexp=\%QINCLUDE=#tz#\s*-\s*(.*?)\n%RegexpMatch=
-1200   -  A-12
-1100   -  A-11
-1000   -  A-10
-0900   -  A-9
-0800   -  A-8
-0700   -  A-7
-0600   -  A-6
-0500   -  A-5
-0400   -  A-4
-0300   -  A-3
-0200   -  A-2
-0100   -  A-1
-   -  GMT
+0100   -  A1
+0200   -  A2
+0300   -  A3
+0400   -  A4
+0500   -  A5
+0600   -  A6
+0700   -  A7
+0800   -  A8
+0900   -  A9
+1000   -  A10
+1100   -  A11
+1200   -  A12
%-
-8
-- 
Best regards,
 Alexander Leschinsky

- MOTD:
The human race is faced with a cruel choice: work or daytime television.
Unknown





http://www.silverstones.com/thebat/TBUDLInfo.html


Re: Anomaly automatically generating my local time zone, when I reply to AOL user's messages

2004-01-09 Thread Januk Aggarwal
Hello Dan,

An archeological dig discovered that on Wednesday, September 3, 2003
at 09:31 GMT -0400, Dan Grunberg [DG] chiseled the following:

DG Many months ago ago, Januk Aggarwal wrote this system of six
DG templates, that generates the time and time-zone tag shown on the
DG first line of my replies. The system of templates automatically
DG corrects the time zone for Standard (S) or Daylight (D) time.

Just to remind everyone, the purpose is to determine Dan's current
timezone  daylight savings setting automatically. Now that TB has
plugin macros, an alternate, and probably much easier solution could
involve a short plugin macro that just reads  returns the info from
the Windows registry (it must be there somewhere).  I haven't yet
attempted to learn how to make plugins, so that's why I sent Dan here.

-- 
Thanks for writing,
 Januk Aggarwal





http://www.silverstones.com/thebat/TBUDLInfo.html


Re: Anomaly automatically generating my local time zone, when I reply to AOL user's messages

2004-01-09 Thread Zygmunt Wereszczynski
On Friday, January 9, 2004, at 21:37:54 [UTC+0500] (Friday, January 9, 2004
17:37 my local time) Alexander Leschinsky wrote:

 My tzname QT for converting numerical TZ to names

 You have use correct names and revert columns in data-engine

snip

 -   -  GMT

GMT time scale is invalid since many years. Despite of correct name is UTC
(Universal Time Scale), many of computer scientists write GMT abbreviation
that is wrong.

-- 
Best regards,
Zygmunt Wereszczynski
(Using The Bat! v2.03 Beta/28 on Windows 2000 5.0 Build 2195 Service Pack 4)




http://www.silverstones.com/thebat/TBUDLInfo.html


Re: Anomaly automatically generating my local time zone, when I reply to AOL user's messages

2004-01-09 Thread Mrten
Om 19:29 op vrijdag 9 januari 2004, Zygmunt Wereszczynski:

 GMT time scale is invalid since many years. Despite of correct name is
 UTC (Universal Time Scale), many of computer scientists write GMT
 abbreviation that is wrong.

GMT is a perfectly valid name for a timezone, its just synonym for UTC.

http://www.apparent-wind.com/gmt-explained.html

http://aa.usno.navy.mil/faq/docs/UT.html

Mrten.
-- 
When in doubt, tell the truth.


http://www.silverstones.com/thebat/TBUDLInfo.html

Re: Anomaly automatically generating my local time zone, when I reply to AOL user's messages

2004-01-09 Thread Januk Aggarwal
Hello Terry,

On Friday, January 9, 2004 at 12:49 GMT -0600, dancing erupted as
Terry L Fritts tapped:

 involve a short plugin macro that just reads  returns the info from
 the Windows registry (it must be there somewhere).  I haven't yet
 attempted to learn how to make plugins, so that's why I sent Dan
 here.

 can be obtained from registry - see:
  HKLM\System\CurrentControlSet\Control\TimeZoneInformation

Perfect, thanks.

Dan, you can use the MyMacros plugin, http://en.barin.com.ua/soft/mymacros/.
Specifically, the %RegRead macro would seem to be your best bet.  You
can get the ActiveTimeBias registry entry:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation\ActiveTimeBias

That should give you the offset in minutes.  From there, you can use a
simple %IF statement to convert it into either the standard time or
daylight time acronym.

It'll be much easier than the complicated mess of templates we had
before.

-- 
Thanks for writing,
 Januk Aggarwal





http://www.silverstones.com/thebat/TBUDLInfo.html


Re: Anomaly automatically generating my local time zone, when I reply to AOL user's messages

2004-01-08 Thread Mark Partous
Hello Dan,

Wednesday, September 3, 2003, 2:31:30 PM, you wrote:

DG The system of templates automatically
DG corrects the time zone for Standard (S) or Daylight (D) time.

I'm afraid I cannot help you. Do these templates affect your computer's date
too?

,--/ message created on: \
| woensdag 3 september 2003, 14:31:30  (Wed, 3 Sep 2003 09:31:30 -0400)
`-8---

-- 
Best Wishes,
Mark
using The Bat! 2.03 Beta/28





http://www.silverstones.com/thebat/TBUDLInfo.html