Opened 16 years ago
Closed 15 years ago
#113 closed defect (duplicate)
timestamps of incident files -- UTC
Reported by: | Zooko | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | undecided |
Component: | logging | Version: | 0.3.0 |
Keywords: | Cc: |
Description
I'm looking at some "incident" files, with names like:
incident-2008-08-22-162028-hd4vfua.flog.bz2
as recorded in #111, and #112, I would appreciate having ISO-8601'ish formatting and having a timezone indicator. If both of those were provided, then the filename would would look like:
incident-2008-08-22_16:20:28-07-hd4vfua.flog.bz2
I would like to, at least optionally, have these timestamps in UTC instead of in the local timezone. This would be better for my use because I more frequently need to figure out the relative order and timing of events which are from different computers from different timezones or from unknown timezones than from the same timezone.
If you want shorter filenames, ISO-8601 allows UTC timestamps to have their timezone indicated with a single character, like this:
incident-2008-08-22_16:20:28Z-hd4vfua.flog.bz2
Or for uniformity with non-UTC timestamps, it can be written as "+00", like this:
incident-2008-08-22_16:20:28+00-hd4vfua.flog.bz2
Change History (2)
comment:1 Changed 16 years ago by
Component: | unknown → logging |
---|
comment:2 Changed 15 years ago by
Resolution: | → duplicate |
---|---|
Status: | new → closed |
merging into the nearly-identical #111