From edb8b586acdfaf5a17fda7a084fab0071c7ae7f9 Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Fri, 19 Jan 2024 15:39:54 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hdl/hdl_upgrade.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hdl/hdl_upgrade.go b/hdl/hdl_upgrade.go index c6d2422..0789af3 100644 --- a/hdl/hdl_upgrade.go +++ b/hdl/hdl_upgrade.go @@ -373,11 +373,11 @@ func GetFinishCount(blockStarChain string, engine *xorm.Engine, uid interface{}, return zhios_condition_statistics_utils.Float64ToStr(money), hasPay, payOrdId case 22: lvTime := db.GetOneCirclesUserLvTime(engine, uid) - stime := time.Date(t.Year(), t.Month(), t.Day()-1, 0, 0, 0, 0, t.Location()).Format("2006-01-02 15:04:05") + stime := time.Date(t.Year(), t.Month(), t.Day()-1, 0, 0, 0, 0, t.Location()).Format("2006-01-02") if lvTime != nil && lvTime.Date.IsZero() == false { - stime = lvTime.Date.Format("2006-01-02 15:04:05") + stime = lvTime.Date.Format("2006-01-02") } - etime := t.Format("2006-01-02 15:04:05") + etime := t.Format("2006-01-02") _, days, activity := one_circles.CalcUserContinuousDailyActivityDays(engine, dbName, int(zhios_condition_statistics_utils.AnyToInt64(uid)), stime, etime) if activity == false { days = 0