diff options
-rw-r--r-- | clientapi/httputil/parse.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clientapi/httputil/parse.go b/clientapi/httputil/parse.go index c8358334..a952d177 100644 --- a/clientapi/httputil/parse.go +++ b/clientapi/httputil/parse.go @@ -35,5 +35,5 @@ func ParseTSParam(req *http.Request) (time.Time, error) { return time.Time{}, fmt.Errorf("param 'ts' is no valid int (%s)", err.Error()) } - return time.Unix(ts/1000, 0), nil + return time.UnixMilli(ts), nil } |