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 <rep...@bugs.python.org>
<http://bugs.python.org/issue22494>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to