-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(ui): respect 24 hour clock format and allow more choices #20856
Conversation
db94ecc
to
9768744
Compare
@danxmoran @jrenee42 merge conflicts resolved and corresponding UI PR has been merged. Please review. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@@ -32,6 +32,7 @@ the endpoint has been removed. Use the `/metrics` endpoint to collect system sta | |||
1. [20819](https://github.com/influxdata/influxdb/pull/20819): Fix Single Stat graphs with thresholds crashing on negative values. | |||
1. [20809](https://github.com/influxdata/influxdb/pull/20809): Fix InfluxDB port in Flux function UI examples. Thanks @sunjincheng121! | |||
1. [20827](https://github.com/influxdata/influxdb/pull/20827): Remove unauthenticated, unsupported `/debug/vars` HTTP endpoint. | |||
1. [20856](https://github.com/influxdata/influxdb/pull/20856): Respect 24 hour clock formats in the UI and allow more choices |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nitpick question: should this be a feature instead of a bug fix?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, it's a bug fix. We've always intended to have the 24 hour clock but it was not properly rendered.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
... and the additional choices are very minor. In case a user had gotten used to the 12 hour clock by picking one of the 24 clock options previously, they can still keep that format by selecting one of the new choices.
I have added a commit to include Tables with the fix. This is in keeping with influxdata/ui#780 |
7067acf
to
67ab47e
Compare
The force push was to get latest from master. |
Closes influxdata/ui#768
Identical to change made in InfluxDB Cloud UI. See influxdata/ui#772