[Python-Dev] Re: proposal: add basic time type to the standard library

Guido van Rossum guido@python.org
Tue, 26 Feb 2002 18:04:23 -0500


> Doesn't Java have separate formatting objects?  You decide which
> format object you need based on the localication context, then you
> pass in the timestamp/date/money/whatever thingie and the format
> object knowws how to render that data representation in the
> appropriate localization.

Yes, that's probably a good way to do it in general.  There may be
global functions that are initialized based on getenv(), and Zope may
provide a different set of global functions that are initialized based
on the preferences of the client.

--Guido van Rossum (home page: http://www.python.org/~guido/)