[Zope3-dev] mini-RFC: times and timezones

Stephan Richter srichter at cosmos.phy.tufts.edu
Sun Feb 27 06:39:24 EST 2005


On Sunday 27 February 2005 06:19, Gary Poster wrote:
> I wish the request were easily available so we could adapt it to
> ITZInfo in the format:fullDateTime code (or even the zope:modified
> code).  The only solution I like enough is to iterate over the
> participants of the current interaction to find an IRequest, and assume
> that's the right one.  That's not ideal, but it would work, and even be
> right for all of the cases I know about.

You still have not read the chapter, right? :-) Look at the setEngine() method 
to see how you can access the request easily.

Regards,
Stephan
-- 
Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training


More information about the Zope3-dev mailing list