Chore: Update times in dashboards (#65179)

Update times in dashboards
This commit is contained in:
Selene
2023-03-22 15:57:44 +01:00
committed by GitHub
parent 01a5d5042d
commit b3d0c39f08
2 changed files with 12 additions and 5 deletions
+6 -2
View File
@@ -10,6 +10,10 @@
package dashboard
import (
"time"
)
// Defines values for Style.
const (
StyleDark Style = "dark"
@@ -633,7 +637,7 @@ type RowPanelType string
// TODO docs
type Snapshot struct {
// TODO docs
Created string `json:"created"`
Created time.Time `json:"created"`
// TODO docs
Expires string `json:"expires"`
@@ -657,7 +661,7 @@ type Snapshot struct {
OrgId int `json:"orgId"`
// TODO docs
Updated string `json:"updated"`
Updated time.Time `json:"updated"`
// TODO docs
Url *string `json:"url,omitempty"`