We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 660ce11 commit 191f653Copy full SHA for 191f653
1 file changed
pkg/apiserver/controllers/v1/alerts.go
@@ -20,8 +20,8 @@ import (
20
)
21
22
func FormatOneAlert(alert *ent.Alert) *models.Alert {
23
- startAt := alert.StartedAt.String()
24
- StopAt := alert.StoppedAt.String()
+ startAt := alert.StartedAt.Format(time.RFC3339)
+ StopAt := alert.StoppedAt.Format(time.RFC3339)
25
26
machineID := "N/A"
27
if alert.Edges.Owner != nil {
0 commit comments