From 13a42284f9b532893880f68b0ba41484639977f1 Mon Sep 17 00:00:00 2001 From: hujiabin <519660157@qq.com> Date: Wed, 17 Jan 2024 17:10:32 +0800 Subject: [PATCH] 1 --- webapp/services/HashRateService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/services/HashRateService.php b/webapp/services/HashRateService.php index e4d462d1..198ce8d4 100644 --- a/webapp/services/HashRateService.php +++ b/webapp/services/HashRateService.php @@ -35,7 +35,7 @@ class HashRateService extends BaseService } $currentPeriod= \mt\AchievementsCycle::getCurrentPeriod(); if (myself()->_getDaySeconds(getXVal($this->hashRateData, 'modifytime', 0)) < - myself()->_getDaySeconds($currentPeriod['obtain_start_time'])) { + myself()->_getDaySeconds(strtotime($currentPeriod['obtain_start_time']))) { $this->hashRateData = array( 'pvpData' => array(), 'mobaData' => array(),