-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error on TimeZoneInfo.FromSerializedString
#91312
Labels
Comments
Tagging subscribers to this area: @dotnet/area-system-datetime Issue DetailsDescription
Reproduction Stepsforeach (TimeZoneInfo t in TimeZoneInfo.GetSystemTimeZones())
{
string s = t.ToSerializedString();
try
{
TimeZoneInfo.FromSerializedString(s);
}
catch (Exception ex)
{
Console.WriteLine(s);
Console.WriteLine(ex);
return;
}
} Expected behaviorEmpty output. Actual behavior
Regression?No response Known WorkaroundsNo response ConfigurationUbuntu 22 Other informationNo response
|
Oh it has been reported. Duplicate #19794 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Description
TimeZoneInfo.FromSerializedString
throws on some time zones.Reproduction Steps
Expected behavior
Empty output.
Actual behavior
Regression?
No response
Known Workarounds
No response
Configuration
Ubuntu 22 & MacOS Ventura
.NET 6 & .NET 7
Other information
No response
The text was updated successfully, but these errors were encountered: