Re: How to get the date format from the users locale?

2010-06-25 Thread Chris Rebert
On Fri, Jun 25, 2010 at 4:39 AM, Fabio Zadrozny wrote: > I'm trying to get the locale-aware date format but it doesn't seem to > be available through nl_langinfo in python 2.5.4 (windows vista). There is the %x format specifier in the time module, but it doesn't actually tell you the format, it m

How to get the date format from the users locale?

2010-06-25 Thread Fabio Zadrozny
I'm trying to get the locale-aware date format but it doesn't seem to be available through nl_langinfo in python 2.5.4 (windows vista). Python 2.5.4 (r254:67916, Dec 23 2008, 15:10:54) [MSC v.1310 32 bit (Intel)] onType "help", "copyright", "credits" or "license" for more information. >>> import l