From a2dd68209e8cb636b3c5a90b07cc929e45f03598 Mon Sep 17 00:00:00 2001 From: LHoG <1476261+lhog@users.noreply.github.com> Date: Fri, 29 Nov 2024 01:34:50 +0100 Subject: [PATCH] Opsie, amend https://github.com/beyond-all-reason/spring/commit/4f35ff6c0efafadfedd7fc20e4afe578bf819be8 --- rts/System/FileSystem/FileSystemAbstraction.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/rts/System/FileSystem/FileSystemAbstraction.cpp b/rts/System/FileSystem/FileSystemAbstraction.cpp index e5af9eca96..c230d3a96a 100644 --- a/rts/System/FileSystem/FileSystemAbstraction.cpp +++ b/rts/System/FileSystem/FileSystemAbstraction.cpp @@ -213,11 +213,6 @@ unsigned int FileSystemAbstraction::GetFileModificationTime(const std::string& f return 0; } - auto local_field = *std::gmtime(&info.st_mtime); - local_field.tm_isdst = 1; - auto utc = std::mktime(&local_field); - auto utc_field = *std::gmtime(&utc); - return info.st_mtime; #endif }