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 daylight saving. More info: http://regebro.wordpress.com/2007/12/18/python-and-time-zones-fighting-the-beast/ -- Lennart Regebro: Zope and Plone consulting. http://www.colliberty.com/ +33 661 58 14 64 _______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )