From b9c7e05031727615fcd1c9c8355f66046701cc13 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Sat, 20 Jul 2024 15:35:08 +0800 Subject: [PATCH] 1 --- sysutils.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sysutils.go b/sysutils.go index 4b830ef..9978909 100644 --- a/sysutils.go +++ b/sysutils.go @@ -16,7 +16,7 @@ import ( ) func GetDaySeconds(seconds int64, timeZone int64) int64 { - return ((seconds+timeZone*3600)/3600/24+1)*3600*24 - 3600*timeZone + return ((seconds+timeZone*3600)/3600/24)*3600*24 - 3600*timeZone } func GetTickCount() int64 {