[Patches] [ python-Patches-767600 ] Add a 'isotime' format to standard logging

SourceForge.net noreply@sourceforge.net
Tue, 08 Jul 2003 01:35:27 -0700


Patches item #767600, was opened at 2003-07-08 10:04
Message generated for change (Comment added) made by loewis
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=767600&group_id=5470

Category: Library (Lib)
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Anthony Baxter (anthonybaxter)
Assigned to: Nobody/Anonymous (nobody)
Summary: Add a 'isotime' format to standard logging

Initial Comment:
This patch adds a standard format string 'isotime' to go 
alongside 'asctime' in the standard logging module. The
'asctime' format is somewhat idiosyncratic (for
instance the
seconds,milliseconds part). 'isotime' produces UTC
timestamps 
in ISO8601 format, that is
%Y-%m-%dT%H:%M:%S.msecsZ
e.g.
2003-07-08T18:02:34.012Z

A good primer on ISO 8601 can be found at 
http://www.cl.cam.ac.uk/~mgk25/iso-time.html

I'm not entirely sold on the name 'isotime' - an
alternative
would be 'stdtime'. 



----------------------------------------------------------------------

Comment By: Martin v. Löwis (loewis)
Date: 2003-07-08 10:35

Message:
Logged In: YES 
user_id=21627

There's no uploaded file!  You have to check the
checkbox labeled "Check to Upload & Attach File"
when you upload a file. In addition, even if you
*did* check this checkbox, a bug in SourceForge
prevents attaching a file when *creating* an issue.

Please try again.

(This is a SourceForge annoyance that we can do
nothing about. :-( )

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=767600&group_id=5470