1
0
Эх сурвалжийг харах

Comment that MDTM on IIS server in DST does not work correctly + Temporarily workaround the respective unit test to yield inconclusive intead of failing

Source commit: 137306159532a49f79838238250adb1e8cd00bcb
Martin Prikryl 9 жил өмнө
parent
commit
bd7c61102a

+ 1 - 0
source/core/FtpFileSystem.cpp

@@ -4485,6 +4485,7 @@ void __fastcall TFTPFileSystem::RemoteFileTimeToDateTimeAndPrecision(const TRemo
       ModificationFmt = Source.HasSeconds ? mfFull : mfMDHM;
 
       // With IIS, the Utc should be false only for MDTM
+      // Though we should probably remove the !Utc check as in DST, the MDTM gets shifted too.
       if (FWindowsServer && !Source.Utc)
       {
         DateTime -= DSTDifferenceForTime(DateTime);