Hi there,

I've run into the following problem when trying to use zc.datetimewidget
in my app: IZopeDublinCore.modified value is a datetime, but it is
having a tzinfo(0) as I check it, instead of pytz.utc. That's weird,
because timeannotators.py sets it as
dc.modified = datetime.now(pytz.utc)
But somehow it gets unpickled again as with tzinfo(0). That's not bad,
but comparing tzinfo(0) with pytz.utc fails.

Am I doing something wrong? Anybody noticed that already?

-- 
Best regards,
 Adam                          mailto:[EMAIL PROTECTED]
--
Quote of the day:
To believe with certainty, we must begin with doubting. 
- Stanislaus I 

_______________________________________________
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com

Reply via email to