From 9fb2467e13669b243334f89fd667f8936d0b835b Mon Sep 17 00:00:00 2001 From: KIMB-technologies Date: Tue, 22 Sep 2020 12:02:54 +0200 Subject: [PATCH] Fix for Sync-Server --- core/Utilities.php | 2 +- core/sync/ServerStatsAccess.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/Utilities.php b/core/Utilities.php index eb688e6..aacb1b2 100644 --- a/core/Utilities.php +++ b/core/Utilities.php @@ -4,7 +4,7 @@ */ class Utilities { - const VERSION = 'v1.0.0 rc2'; + const VERSION = 'v1.0.0 rc3'; /** * OS Consts diff --git a/core/sync/ServerStatsAccess.php b/core/sync/ServerStatsAccess.php index cd044a7..458b3d2 100644 --- a/core/sync/ServerStatsAccess.php +++ b/core/sync/ServerStatsAccess.php @@ -68,7 +68,7 @@ public function initialSync() : bool { file_get_contents( Config::getStorageDir() . '/' . $file ), true ), - strtotime($file) + strtotime(substr($file, 0, -5)) ); $ok &= !$this->requestError;