Opened 16 years ago
Last modified 15 years ago
#100 closed defect
timestamps: use fully qualified, unambiguous, standard format — at Version 1
Reported by: | Zooko | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 0.5.0 |
Component: | logging | Version: | 0.3.0 |
Keywords: | Cc: | Zooko, zooko@… |
Description (last modified by )
Please use ISO-8601, except with "_" instead of "T" for the separating character for all timestamps. Please include the ISO-8601 unambiguous timezone indicator (which is either "Z" or a number of hours offset from UTC).
Here is Markus Kuhn's advocacy and summary of ISO-8601:
Here is the related discussion from the Tahoe trac:
- http://allmydata.org/trac/tahoe/ticket/326 # use consistent time stamps in logging
Here are some Python implementations of ISO and/or UTC timestamps:
- http://allmydata.org/trac/tahoe/browser/src/allmydata/node.py?rev=2731#L30
- http://allmydata.org/trac/tahoe/browser/src/allmydata/util/time_format.py?rev=2424#L12
- http://allmydata.org/trac/pyutil/browser/pyutil/pyutil/time_format.py?rev=93
This ticket is the more urgent, less controversial subset of #90 (timestamps: formatting and timezones).
Note: See
TracTickets for help on using
tickets.
reformatted summary a bit