[Zope3-dev] PosixTimeZone tzinfo implementation
Tim Peters
tim@zope.com
Thu, 23 Jan 2003 10:47:19 -0500
[Stuart Bishop]
> I've got an tzinfo implementation that should work on any system
> that provides the tzset(3), localtime(3) calls.
Probably not. The code believes a struct tm has a tm_gmtoff member, but
that's not in ANSI C or in POSIX:
http://www.opengroup.org/onlinepubs/007908799/xsh/time.h.html
googling suggests it's a BSD extension. Guido's pure-Python Local.py (in
the Python CVS sandbox, nondist/sandbox/datetime/Local.py) may be trying to
get at the same kind of thing -- unsure.