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
{{ message }}
Repository navigation
Blazor WASM .NET 5 TimeZoneInfo DaylightName values not correct #45136
TimeZoneInfo.DaylightName is different (and correct) for time zones that support daylight saving time.
For example, in a .NET 5 console application the same values look like this:
Pacific Standard time in a .NET 5 console app shows that the StandardName is "Pacific Standard Time" and the DaylightName is "Pacific Daylight Time"
Yea it looks like the DaylightName and StandardName are the same in unix. Also the display name is basically of the format (UTC+<diff>) StandardName as well
I think we've found the issue with DaylightName and a fix is in progress. The StandardName/DisplayName commonality is #16232
It is different from 3.2 because the core libraries have changed.
@tarekgh I haven't verified the code but 3.2 Wasm used the mono/mono bcl with different timezone code which likely carried this data with it for compatibility with windows. I can double check next week.
Activity
Dotnet-GitSync-Bot commentedon Nov 24, 2020
I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label.
marek-safar commentedon Nov 24, 2020
/cc @lewing
lewing commentedon Nov 24, 2020
@tqiu8 can you test the example on unix as well and make sure all the other issues are already tracked/resolved
radical commentedon Nov 24, 2020
Just curious, do we have tests for this?
safern commentedon Nov 25, 2020
I just searched for that and it seems like we don't for WASM, the one we have uses
RemoteExecutor, hence it is skipped on WASM.lewing commentedon Nov 25, 2020
Looks like there is some crossover here with #16232 ?
tqiu8 commentedon Nov 25, 2020
Yea it looks like the DaylightName and StandardName are the same in unix. Also the display name is basically of the format
(UTC+<diff>) StandardNameas welllewing commentedon Nov 25, 2020
I think we've found the issue with DaylightName and a fix is in progress. The StandardName/DisplayName commonality is #16232
It is different from 3.2 because the core libraries have changed.
tarekgh commentedon Nov 26, 2020
@lewing how did we use to get the display name in 3.2? did we carry the data back then?
lewing commentedon Nov 26, 2020
@tarekgh I haven't verified the code but 3.2 Wasm used the mono/mono bcl with different timezone code which likely carried this data with it for compatibility with windows. I can double check next week.