瀏覽代碼

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 年之前
父節點
當前提交
bd7c61102a
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      source/core/FtpFileSystem.cpp

+ 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);