diff --git a/CHANGELOG.md b/CHANGELOG.md index ba6a2e23..eeca059b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Change Log +## [2.1.4] + +- **Fix** - Workflow runs - date filter now filters by time + ## [2.1.3] - **Fix** - Add mutex protection to prevent data races in datasource cache diff --git a/package.json b/package.json index 6ca0e71d..9e537b57 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "grafana-github-datasource", - "version": "2.1.3", + "version": "2.1.4", "private": true, "description": "The GitHub data source plugin for Grafana lets you to query the GitHub API in Grafana so you can visualize your GitHub repositories and projects.", "repository": "github:grafana/github-datasource", diff --git a/pkg/github/client/client.go b/pkg/github/client/client.go index 667b8c54..bba6e6b8 100644 --- a/pkg/github/client/client.go +++ b/pkg/github/client/client.go @@ -308,7 +308,7 @@ func (client *Client) getWorkflowRuns(ctx context.Context, owner, repo, workflow workflowRuns := []*googlegithub.WorkflowRun{} - format := "2006-01-02" + format := time.RFC3339 created := fmt.Sprintf("%s..%s", timeRange.From.Format(format), timeRange.To.Format(format)) var (