Skip to content

Conversation

@lewing
Copy link
Member

@lewing lewing commented Nov 2, 2020

If the timezone isn't set in the host set it to UTC

Addresses dotnet/runtime#44154

@lewing lewing requested a review from pranavkm November 2, 2020 18:06
@lewing lewing requested review from a team and SteveSandersonMS as code owners November 2, 2020 18:06
@ghost ghost added the area-blazor Includes: Blazor, Razor Components label Nov 2, 2020
Copy link
Contributor

@pranavkm pranavkm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @lewing. @mkArtakMSFT we should consider patching this in 5.0.1

@pranavkm pranavkm added this to the 6.0-preview1 milestone Nov 2, 2020
@ghost
Copy link

ghost commented Nov 2, 2020

Hello @pranavkm!

Because this pull request has the auto-merge label, I will be glad to assist with helping to merge this pull request once all check-in policies pass.

Do note that I've been instructed to only help merge pull requests of this repository that have been opened for at least 60 minutes, a condition that will be fulfilled in about 22 minutes. No worries though, I will be back when the time is right! 😉

p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (@msftbot) and give me an instruction to get started! Learn more here.

@ghost ghost merged commit e8dade6 into dotnet:master Nov 3, 2020
pranavkm added a commit that referenced this pull request Nov 3, 2020
Browsers may not correctly resolve the machine's timezone in some cases. In the current implementation,
this results in an exception being thrown by .NET Core (WASM). This code defaults the timezone to UTC
when the timezone cannot be resolved.

Fixes dotnet/runtime#44154
Port of #27444
pranavkm added a commit that referenced this pull request Nov 19, 2020
Browsers may not correctly resolve the machine's timezone in some cases. In the current implementation,
this results in an exception being thrown by .NET Core (WASM). This code defaults the timezone to UTC
when the timezone cannot be resolved.

Fixes dotnet/runtime#44154
Port of #27444
mkArtakMSFT added a commit that referenced this pull request Nov 21, 2020
Browsers may not correctly resolve the machine's timezone in some cases. In the current implementation,
this results in an exception being thrown by .NET Core (WASM). This code defaults the timezone to UTC
when the timezone cannot be resolved.

Fixes dotnet/runtime#44154
Port of #27444

Co-authored-by: Artak <[email protected]>
3dots pushed a commit to 3dots/aspnetcore-Web.JS that referenced this pull request Feb 19, 2024
Browsers may not correctly resolve the machine's timezone in some cases. In the current implementation,
this results in an exception being thrown by .NET Core (WASM). This code defaults the timezone to UTC
when the timezone cannot be resolved.

Fixes dotnet/runtime#44154
Port of dotnet/aspnetcore#27444

Co-authored-by: Artak <[email protected]>
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-blazor Includes: Blazor, Razor Components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants