OK, I have looked HARD at this now. And dateutil.tz solves this. I
don't think Zope can solve this with pytz, unless we implement the
same solution in pytz as already exists in dateutil.tz. It solves it
by implementing a tzinfo class that wraps zoneinfo files, and that way
you simply wrap /etc/localtime and get the right info.
I have tried the suggested solution of matching TZ names and offsets
and it doesn't work, becuase you'll end up in the correct time zone
but not in the correct location, and hence not with the correct
Lennart Regebro: Zope and Plone consulting.
+33 661 58 14 64
Zope-Dev maillist - Zope-Dev@zope.org
** No cross posts or HTML encoding! **
(Related lists -