[Zope3-dev] PosixTimeZone tzinfo implementation

Stuart Bishop zen@shangri-la.dropbear.id.au
Fri, 24 Jan 2003 15:40:37 +1100


On Friday, January 24, 2003, at 02:47  AM, Tim Peters wrote:

> Probably not.  The code believes a struct tm has a tm_gmtoff member,  
> but
> that's not in ANSI C or in POSIX:

Your right - Solaris 2.8 doesn't have this. I should be able to  
calculate
this using the result of gmtime. tm_tzname is not on that list either,
so I'll use the older method of accessing it (listed as 'discouraged'
in my man pages).

I've put up a new version that should solve this problem:
      
http://zen.freezope.org/Software/PosixTimeZone/PosixTimeZone- 
0.9.2.tar.gz

-- 
Stuart Bishop <zen@shangri-la.dropbear.id.au>
http://shangri-la.dropbear.id.au/