-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Display Silence and Alert dates in ISO8601 format #2363
Display Silence and Alert dates in ISO8601 format #2363
Conversation
nicholascapo
commented
Sep 2, 2020
- This changes the Alert view the SilenceList and SilenceView
18ee0b4
to
b453648
Compare
b453648
to
56a7bc1
Compare
I don't have strong preferences on date formatting for the UI but I'm not sure that switching to ISO8601 format is more useful than the current format. |
My use case is actually comparing the dates in AM to the dates a lot of other tools (Grafana, PagerDuty, etc) that use the ISO format. If they all had the same structure, doing quick diffs in my head would be easier (e.g "How long before this page did the Silence expire?") The change would also make these dates consistent with the format on the New Silence Page. Personally I like the ISO format, but internal and external consistency is the goal here. |
Thanks for the input Nicholas. I agree that reducing cognitive overhead is important. I'll let @roidelapluie and @w0rm chime in too... |
We should keep that consistent with Prometheus. |
See also: prometheus/prometheus#7884 |
I agree that we should keep it consistent! 👍 if we are going change this in Prometheus too. |
56a7bc1
to
2d6711a
Compare
* This changes the Alert view the SilenceList and SilenceView Signed-off-by: Nicholas Capo <[email protected]>
2d6711a
to
51cf51a
Compare
Any word on this change? Can I get an approval? |
@nicholascapo sure, to make it more consistent with Prometheus 👍 |