Skip to content

Commit 92ae22a

Browse files
committed
fix(version): use current time zone for commit datetime
1 parent de8341c commit 92ae22a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

infra/buildinfo/buildinfo.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ func Commit() string {
6363
s = d.CommitHash
6464
}
6565
if !d.CommitTime.IsZero() {
66-
s += " at " + d.CommitTime.Format(time.RFC3339)
66+
s += " at " + d.CommitTime.In(time.Local).Format(time.RFC3339)
6767
}
6868
return s
6969
}

0 commit comments

Comments
 (0)