Skip to content

Commit

Permalink
Fix time format RFC3339 in version #283
Browse files Browse the repository at this point in the history
  • Loading branch information
u5surf committed Jul 17, 2019
1 parent 3d797f5 commit 453f23d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion version/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ func NewInfo(application string) *Info {
}

func (i *Info) String() string {
return fmt.Sprintf("%s Version: %s Commit: %s BuildDate: %s", i.Application, i.VersionString, i.Commit, i.BuildDate)
return fmt.Sprintf("%s Version: %s Commit: %s BuildDate: %s", i.Application, i.VersionString, i.Commit, i.BuildDate.Format(time.RFC3339))
}

//nolint:gochecknoinits
Expand Down

0 comments on commit 453f23d

Please sign in to comment.