This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author yves@zioup.com
Recipients yves@zioup.com
Date 2011-09-23.15:21:36
SpamBayes Score 4.01103e-09
Marked as misclassified No
Message-id <1316791297.78.0.299394793338.issue13036@psf.upfronthosting.co.za>
In-reply-to
Content
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() )
History
Date User Action Args
2011-09-23 15:21:37yves@zioup.comsetrecipients: + yves@zioup.com
2011-09-23 15:21:37yves@zioup.comsetmessageid: <1316791297.78.0.299394793338.issue13036@psf.upfronthosting.co.za>
2011-09-23 15:21:37yves@zioup.comlinkissue13036 messages
2011-09-23 15:21:36yves@zioup.comcreate