Skip to content

Commit

Permalink
fix(sdk): print date with timezone in service status (#5513)
Browse files Browse the repository at this point in the history
  • Loading branch information
richardlt authored Oct 19, 2020
1 parent 4cfcf94 commit 40a6e51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engine/service/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ func (c *Common) commonMonitoring(t time.Time) []sdk.MonitoringStatusLine {
Status: sdk.MonitoringStatusOK,
}, {
Component: "Time",
Value: fmt.Sprintf("%dh%dm%ds", t.Hour(), t.Minute(), t.Second()),
Value: t.Format(time.RFC3339),
Status: sdk.MonitoringStatusOK,
}}

Expand Down

0 comments on commit 40a6e51

Please sign in to comment.