[Zope3-dev] zc.datetimewidget and ITZInfo request adapter

Jim Washington jwashin at vt.edu
Sun Apr 2 12:18:13 EDT 2006


Bernd Dorn wrote:
> hello guys from zc
>
> is there an implementation of the adapter from request to ITZInfo you 
> use in zc.datetimewidget
>
> for example in 
> http://svn.zope.org/zc.datetimewidget/trunk/src/zc/datetimewidget/datetimewidget.py?rev=41765&view=auto 
>
> ...
> tzinfo = ITZInfo(request, None)
> ...
>
> if not, what would be the prefered way to implement such an adapter
>
>
I found something that seems to work for me, mostly:

http://mail.zope.org/pipermail/zope3-users/2005-October/001165.html

I recall a typographical error somewhere in the code, but you should be 
able to figure that out.

-Jim Washington


More information about the Zope3-dev mailing list