We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d2e398 commit b5b592eCopy full SHA for b5b592e
external/corefx-bugfix/src/Common/src/CoreLib/System/TimeZoneInfo.Unix.cs
@@ -700,6 +700,14 @@ public static TimeZoneInfo FindSystemTimeZoneById(string id)
700
return Utc;
701
}
702
703
+#if (UNITY_AOT && FULL_AOT_RUNTIME) || UNITY_JIT
704
+ // Not all platforms we support reading timezones from disk but can report Local
705
+ if (string.Equals(id, LocalId, StringComparison.OrdinalIgnoreCase))
706
+ {
707
+ return Local;
708
+ }
709
+#endif
710
+
711
if (id == null)
712
{
713
throw new ArgumentNullException(nameof(id));
0 commit comments