'juju status' wall clock timestamps should display offset not TZ abbrev
Bug #1459616 reported by
Stuart Bishop
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-core |
Fix Released
|
High
|
Ian Booth | ||
1.24 |
Fix Released
|
High
|
Ian Booth |
Bug Description
'juju status' output displays timestamps in local time using the timezone abbreviation. These abbreviations are not unique and are ambiguous. They are not machine parseable, and should never be used in otherwise machine parsable data such as the yaml and JSON output of 'juju status'.
ISO8601, or its subset RFC3339, define the readable and parseable format expected by users. '2015-05-28 12:54:48+07:00' rather than the localized version which may specify several ambiguous timestamps and may not even be ASCII.
You may want to collapse this and Bug #1459611 into a single bug.
Changed in juju-core: | |
status: | Won't Fix → New |
Changed in juju-core: | |
milestone: | none → 1.25.0 |
importance: | Undecided → High |
status: | New → Triaged |
assignee: | nobody → Ian Booth (wallyworld) |
summary: |
- 'juju status' timestamps should use rfc3339 or ISO8601 + 'juju status' wall clock timestamps should display offset not TZ abbrev |
Changed in juju-core: | |
status: | Triaged → Fix Committed |
Changed in juju-core: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
We decided in talking to our IS people in Nuremburg recently that they would accept juju status displaying local time by default, and a --utc flag used to output time in a machine parsable format and UTC not local. Normal users tell us they want local time. So we opted for that as the default, but still provided the other option for scripts etc using the --utc flag.
Marking this as Won't Fix. If we want to change it, will need to involve end user stakeholders etc and discuss.