Skip to content

Commit 34e5675

Browse files
committed
fix lint
1 parent 1d300f8 commit 34e5675

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/util/time_stamp.go

+1-1
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)