Skip to content

Commit

Permalink
Convert timestamps to use UTC
Browse files Browse the repository at this point in the history
  • Loading branch information
erwinvaneyk committed Jan 17, 2020
1 parent 209d687 commit e0bb1be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cmd/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ func (o *TapOptions) tap(obj *unstructured.Unstructured) *unstructured.Unstructu
if annotations == nil {
annotations = map[string]string{}
}
annotations[o.tapKey] = time.Now().Format(time.RFC3339)
annotations[o.tapKey] = time.Now().UTC().Format(time.RFC3339)
updatedObj.SetAnnotations(annotations)
return updatedObj
}

0 comments on commit e0bb1be

Please sign in to comment.