Browse Source

Return Utc in GetLocalTimeZoneFromTzFile

disarray2077 3 năm trước cách đây
mục cha
commit
95bd231444
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      BeefLibs/corlib/src/TimeZoneInfo.bf

+ 2 - 1
BeefLibs/corlib/src/TimeZoneInfo.bf

@@ -1942,7 +1942,8 @@ namespace System {
              }
             // the data returned from the PAL is completely bogus; return a dummy entry
             return CreateCustomTimeZone(c_localId, TimeSpan.Zero, c_localId, c_localId);*/
-			Runtime.NotImplemented();
+			// TODO: Not implemented.
+            return Utc;
         }
 #endif // !FEATURE_WIN32_REGISTRY