[Python-Dev] Re: proposal: add basic time type to the standard library
Tue, 26 Feb 2002 17:00:09 -0600
Tim> .... If you sit at your Windows box and go to Start -> Settings ->
Tim> Control Panel -> Regional Settings, you'll get a tabbed dialog for
Tim> specifying the format of number, currency, time, and date displays.
I'm gonna go ever so slightly out on a limb here and make a wild-ass guess
here that Apple probably had this functionality before Microsoft and that
like on Windows, all well-behaved Mac applications had to use the user's
settings. Maybe this abstract time object's strftime method (or
time.strftime) should grow format specifiers for the user-specified date and
Tim> Idiosyncratic formats for user-visible number/currency/date/time
Tim> info is going to become an increasingly Bad Idea on other OSes too.
Of course, neither Apple's nor Microsoft's efforts in this area will help
the poor person trying to emit a dynamic web page containing "correctly"
formatted dates. You still have to guess or just fall back to something
most everyone can deduce.