diff options
| author | KubeEdge Bot <48982446+kubeedge-bot@users.noreply.github.com> | 2024-08-27 11:58:38 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-27 11:58:38 +0800 |
| commit | aa7494f677a3505e01743ac65f2d04a3b2c6a281 (patch) | |
| tree | fbdcb64689b2880bd97091fcca8917898fdaa92d /keadm | |
| parent | Merge pull request #5808 from Catherine-monk/kubeedge/makefile (diff) | |
| parent | Make kubeedge time international (diff) | |
| download | kubeedge-origin/HEAD.tar.gz | |
Merge pull request #5817 from WillardHu/time-utcorigin/masterorigin/HEAD
Make the timestamps of kubeedge resources support international time
Diffstat (limited to 'keadm')
| -rw-r--r-- | keadm/cmd/keadm/app/cmd/util/common.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/keadm/cmd/keadm/app/cmd/util/common.go b/keadm/cmd/keadm/app/cmd/util/common.go index 5944f62e9..754588419 100644 --- a/keadm/cmd/keadm/app/cmd/util/common.go +++ b/keadm/cmd/keadm/app/cmd/util/common.go @@ -653,7 +653,7 @@ func ReportTaskResult(config *v1alpha2.EdgeCoreConfig, taskType, taskID string, NodeName: config.Modules.Edged.HostnameOverride, Event: event.Type, Action: event.Action, - Time: time.Now().Format(constants.ISO8601UTC), + Time: time.Now().UTC().Format(time.RFC3339), Reason: event.Msg, } edgeHub := config.Modules.EdgeHub |
