Skip to content

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

Merged
metalmatze merged 3 commits into
mainfrom
datetimepicker-seconds
Apr 18, 2023
Merged

metalmatze merged 3 commits into
mainfrom
datetimepicker-seconds

Conversation

@metalmatze

Copy link
Copy Markdown
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.

@yomete yomete left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

lgtm!

This branch was successfully deployed

1 active deployment
Preview – parca-ui — e950edbb Deployed Apr 18, 2023 by vercel[bot]
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