[issue22494] default logging time string is not localized
Sean Dague
report at bugs.python.org
Thu Sep 25 12:42:32 CEST 2014
New submission from Sean Dague:
The default time string is not localized for using locale specific formatting, but is instead hardcoded to a ','.
https://hg.python.org/cpython/file/c87e00a6258d/Lib/logging/__init__.py#l483 demonstrates this.
Instead I think we should set that to the value of: locale.localeconv()['decimal_point']
While this clearly a very minor issue, I stare at enough logging output data that falls back to default formats (due to testing environments) that would love for this to be locale aware.
----------
components: Library (Lib)
messages: 227521
nosy: sdague
priority: normal
severity: normal
status: open
title: default logging time string is not localized
type: behavior
versions: Python 2.7, Python 3.1, Python 3.2, Python 3.3, Python 3.4, Python 3.5
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22494>
_______________________________________
More information about the Python-bugs-list
mailing list