[Zope3-dev] Re: [Zope3-checkins] CVS: Zope3/src/zope/publisher- browser.py:1.7

Shane Hathaway shane@zope.com
Thu, 13 Feb 2003 11:14:18 -0500


Jim Fulton wrote:
> Marius Gedminas wrote:
>> I think zope.app.datetimeutils should be moved to zope.datetimeutils.
> 
> 
> I think that's reasonable. Another option would be to make the publisher
> marshaling facility pluggable, so that zope.app could plug in a specialized
> date-time parser.

We'll need pluggable date time parsing anyway for I18N.  In Brazil, for 
example, "13.02.03" and "13 Fevereiro 2003" are valid dates.

Just to make it more complicated, :-) the choice of date time parsing 
routines probably ought not to be global, and should instead be 
request-specific.  Some (many?) sites are multilingual.

Shane