Before
After
var tzName = "Central Standard Time";
var tzi = TimeZoneInfo.FindSystemTimeZoneById(name);
Console.WriteLine(tzi.DisplayName);
(UTC-06:00) Central Time (US & Canada)
Windows
Exception has occurred: CLR/System.TimeZoneNotFoundException
An unhandled exception of type 'System.TimeZoneNotFoundException'
occurred in System.Private.CoreLib.dll:
'The time zone ID 'Central Standard Time' was not found
on the local computer.'
Linux
Time Zones in the Windows registry
All can be found at https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/default-time-zones
Time Zone database curated by the Internet Assigned Numbers Authority (IANA).
All can be found at
https://www.iana.org/time-zones
"Dotknij Kubernetes" to: