[issue29457] strftime('%x') does not use my locale

Hugo Osvaldo Barrera report at bugs.python.org
Mon Feb 6 02:41:24 EST 2017


Hugo Osvaldo Barrera added the comment:

The problem is that the datetime/strftime documentation describes "%c" as:

    Locale’s appropriate date and time representation.

However, this is not really accurate (this is not the *default* behaviour), that's why I was mentioning the clarification. IMHO, a mere mere link to that caveats section would be enough.

Maybe looking at the locale section sounded intuitive to you because you're already familiar with it, but for people who don't KNOW that there's a caveats section there, it's not really obvious.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29457>
_______________________________________


More information about the Python-bugs-list mailing list