Skip to content

Commit dc77427

Browse files
fix(web): format to local time
1 parent 61f001f commit dc77427

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/helpers/helpers.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ var Map template.FuncMap = template.FuncMap{
2222
return manifest
2323
},
2424
"timeFormat": func(date time.Time) string {
25-
return date.Format("Jan _2 2006 15:04:05")
25+
return date.Local().Format("Jan _2 2006 15:04:05")
2626
},
2727
"timeHumanize": func(date time.Time) string {
2828
return humanize.Time(date)

0 commit comments

Comments
 (0)