Re: [Zope3-dev] OT: pytz

2006-07-25 Thread Marius Gedminas
On Mon, Jul 24, 2006 at 01:08:39AM +0200, Florent Guillaume wrote: > Sorry about the offtopic, but can anyone shed some light on this: > > >>> import pytz > >>> from datetime import datetime > >>> tz = pytz.timezone('Europe/Paris'); print datetime(2006, 7, 1, > tzinfo=tz).utcoffset() > 0:09:00 >

[Zope3-dev] OT: pytz

2006-07-23 Thread Florent Guillaume
Sorry about the offtopic, but can anyone shed some light on this: >>> import pytz >>> from datetime import datetime >>> tz = pytz.timezone('Europe/Paris'); print datetime(2006, 7, 1, tzinfo=tz).utcoffset() 0:09:00 I expected 1 hour, not 9 minutes??? >>> tz = pytz.timezone('Europe/Berlin'); pr