Skip to content
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

ui: DateTimePicker adds seconds and uses yyyy-MM-dd HH:mm:ss #2920

Merged
merged 3 commits into from
Apr 18, 2023

Conversation

metalmatze
Copy link
Member

Both Prometheus and Grafana use the above format for absolute formatting. Personally, I think that makes a lot of sense, especially when using UTC all over the place. Given we also have #2024 too, I went ahead and made the change in the DateTimePicker already and not only adding seconds.

Additionally, I fixed some styling issues along the way. Most prominently, the p-2 to pt-4 which had the DateTimeRangePicker offset horizontally.

Both Prometheus and Grafana use the above format for absolute formatting.
Personally, I think that makes a lot of sense especially when using UTC all over the place. Given we also have #2024 too, I went ahead and made the change in the DateTimePicker already and not only adding seconds.

Additionally, I fixed some styling issues along the way. Most prominently, the `p-2` to `pt-4` which had the DateTimeRangePicker offset horizontally.
Copy link
Contributor

@yomete yomete left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants