> That application of the user's timezone might be done before the
> datetime is actually generated, or with a datetime.replace
> (tzinfo=ITZInfo(request)) call. (The immutable nature of strings,
> datetimes, and other similar types doesn't prevent us from
> operations with them or from replacing one attribute value with
> another, of course).
Of course :-)
I guess my question was whether you see the widget handling the setting of the
time zone, or the application. My vote would be that the widget deal with this,
using adaptation to black box the process of finding the implicit tzinfo
(assuming the widget doesn't have a UI for explicitly setting it).
Zope3-dev mailing list