[New-bugs-announce] [issue13036] time format in logging is wrong
Yves Dorfsman
report at bugs.python.org
Fri Sep 23 17:21:37 CEST 2011
New submission from Yves Dorfsman <yves at zioup.com>:
The basic time format in the logging module uses a comma instead of a dot to separate the seconds from the tenth of seconds:
import logging
logging.basicConfig(format='%(asctime)s %(message)s')
logging.warning('hello')
2011-09-23 09:08:53,739 hello
Using a dot seems to be more accepted, see:
ls -l --full-time
Java's default dates
python's datetime.datetime.isoformat( datetime.datetime.now() )
----------
components: Library (Lib)
messages: 144447
nosy: yves at zioup.com
priority: normal
severity: normal
status: open
title: time format in logging is wrong
type: behavior
versions: Python 3.2
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13036>
_______________________________________
More information about the New-bugs-announce
mailing list