You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A mentee left the following message with their submission on the exercise.
The container that the tests run in doesn't appear to be returning any timezones from TimeZoneInfo.GetSystemTimeZones(). The tests run locally both on Linux and Windows so I'm a bit confused here. Is there some other config item that needs to be set in order for the time zones to be found or is this an environment issue with the tests being run in a container?
I have asked the member to add any additional info they might have on the issue.
The text was updated successfully, but these errors were encountered:
I won't post my solution immediately to avoid dropping a solution here but can add it if it helps solve this issue.
After my own investigation, TimeZoneInfo.GetSystemTimeZones() returns an empty IEnumerable. I have not dug into the container that runs the tests yet but it looks likely that it is similar to this announcement on the dotnet docker images here: dotnet/dotnet-docker#1366 For brevity I arrived at that from this Stack Overflow answer: https://stackoverflow.com/a/68120062/3697637
A mentee left the following message with their submission on the exercise.
I have asked the member to add any additional info they might have on the issue.
The text was updated successfully, but these errors were encountered: