In Blazor WASM only a few time zones seem to be available when using TimeZoneInfo.GetSystemTimeZones(). Why is that and what controls which they are?
@page "/"
<h1>Hello, world!</h1>
Welcome to your new app.
<SurveyPrompt Title="How is Blazor working for you?" />
<p>@((MarkupString)message)</p>
@code
{
private string message = "";
protected override void OnInitialized()
{
base.OnInitialized();
List<string> timeZones = new();
foreach (var tz in TimeZoneInfo.GetSystemTimeZones())
timeZones.Add($"Tz DispName:{tz.DisplayName}, StdName:{tz.StandardName}, Id:{tz.Id}");
message = string.Join("<br/>", timeZones);
}
}
I get 14 time zones when running the above. When I do something similar in a console app I get approx. 140 time zones. My Win10 machine is configured for Denmark/Europe.
