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?
Adam mailto:[EMAIL PROTECTED]
Quote of the day:
To believe with certainty, we must begin with doubting.
- Stanislaus I
Zope3-dev mailing list