Skip to content

Commit c9ba362

Browse files
committed
fix lint
1 parent e938ce3 commit c9ba362

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/util/time_stamp.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ func (ts TimeStamp) AsTimePtr() *time.Time {
4949
return ts.AsTimePtrInLocation(setting.UILocation)
5050
}
5151

52-
// AsTimePtr convert timestamp as *time.Time in Local locale
52+
// AsTimePtrInLocation convert timestamp as *time.Time in customize location
5353
func (ts TimeStamp) AsTimePtrInLocation(loc *time.Location) *time.Time {
5454
tm := time.Unix(int64(ts), 0).In(loc)
5555
return &tm

0 commit comments

Comments
 (0)