Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Documentation Request: Supported Time Formats #95

Closed
gibranparvez opened this issue Jun 22, 2021 · 2 comments
Closed

Documentation Request: Supported Time Formats #95

gibranparvez opened this issue Jun 22, 2021 · 2 comments
Labels
type/docs Improvements or additions to documentation

Comments

@gibranparvez
Copy link

Can we add "Supported Time Formats" to the documentation somewhere? I struggled with this until I found the parser in detectTimeLayoutNaive.

If I'm not mistaken, the formats compatible with this plugin are as follows:

		"2006-01-02 15:04",
		"2006-01-02 15:04:05 MST",
		"2006-01-02 15:04:05.999999",
		"2006-01-02 15:04:05.999999 -07:00",
		"2006-01-02 15:04:05.999999Z",
		"2006-01-02T15:04",
		"2006-01-02T15:04:05 MST",
		"2006-01-02T15:04:05.999999",
		"2006-01-02T15:04:05.999999 -07:00",
		"2006-01-02T15:04:05.999999Z",
		"2006/1/2",
		"2006/01/02",
		"2006/01/02 15:04",
		"2006/01/02 15:04:05 MST",
		"2006/01/02 15:04:05.999999",
		"2006/01/02 15:04:05.999999 -07:00",
		"2006/01/02 15:04:05.999999Z",
		"2006/01/02T15:04",
		"2006/01/02T15:04:05 MST",
		"2006/01/02T15:04:05.999999",
		"2006/01/02T15:04:05.999999 -07:00",
		"2006/01/02T15:04:05.999999Z",
		"01/02/2006",
		"01/02/2006 15:04",
		"01/02/2006 15:04:05 MST",
		"01/02/2006 15:04:05.999999",
		"01/02/2006 15:04:05.999999 -07:00",
		"01/02/2006 15:04:05.999999Z",
		"01/02/2006T15:04",
		"01/02/2006T15:04:05 MST",
		"01/02/2006T15:04:05.999999",
		"01/02/2006T15:04:05.999999 -07:00",
		"01/02/2006T15:04:05.999999Z",```
@marcusolsson marcusolsson added type/docs Improvements or additions to documentation priority/backlog labels Jul 3, 2021
@marcusolsson
Copy link
Contributor

I think that's a great idea. Thank you for the heads-up! 🙏

@marcusolsson marcusolsson added this to Backlog in Grafana Plugins Jul 5, 2021
@radoeka
Copy link

radoeka commented Jul 12, 2021

BTW: "2006-01-02" works as well

@grafana grafana locked and limited conversation to collaborators Mar 7, 2022
@marcusolsson marcusolsson converted this issue into discussion #183 Mar 7, 2022
@marcusolsson marcusolsson removed this from Backlog in Grafana Plugins Sep 30, 2022

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
type/docs Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

3 participants