[Zope3-dev]
zope.security.interfaces.ForbiddenAttribute: ('utcoffset', <UTC>)
Garrett Smith
garrett at mojave-corp.com
Mon Jul 18 19:04:00 EDT 2005
This might be something on my end, but I figure I'd throw it out in case it's related to any changes related to naïve/non-naïve time zones.
Here's the relevant part of the traceback:
File "/opt/aktari/zope/src/zope/i18n/format.py", line 175, in format
info = buildDateTimeInfo(obj, self.calendar, bin_pattern)
File "/opt/aktari/zope/src/zope/i18n/format.py", line 603, in buildDateTimeInfo
tz_secs = tzinfo.utcoffset(dt).seconds
I'll dig further, but at a casual glance I couldn't turn up any security declarations for UTC objects. Could this be a case where datetime values are suddenly spouting proxied tzinfos?
-- Garrett
More information about the Zope3-dev
mailing list