Skip to content
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

Gives out wrong time and wrong date ... #10296

Closed
DanielOberlechner opened this issue Feb 3, 2019 — with docs.microsoft.com · 6 comments
Closed

Gives out wrong time and wrong date ... #10296

DanielOberlechner opened this issue Feb 3, 2019 — with docs.microsoft.com · 6 comments
Labels
docs-experience Indicates issues that are about the learn.microsoft.com experience or design [org][type][category] dotnet-csharp/svc external Not related to content

Comments

Copy link

Hi,
when I execute the first code Example it gives me a wrong week day and the wrong time...

Does anybody know why that is so?

Greets by Daniel


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

@pkulikov
Copy link
Contributor

pkulikov commented Feb 3, 2019

@DanielOberlechner an observation: if I modify the snippet (a mere additional white space in the comment does the magic) and run it again, the result is as expected.

That might be related to the engine that executes the snippets: try.dot.net.
/cc: @LadyNaggaga

Copy link
Author

ah ok ... just wondered why the date isn't correct ...
Greets

@mairaw
Copy link
Contributor

mairaw commented Feb 4, 2019

There might have some caching involved. @dend @jdanyow to take a look as well

@mairaw mairaw added external Not related to content docs-experience Indicates issues that are about the learn.microsoft.com experience or design [org][type][category] and removed ⌚ Not Triaged Not triaged labels Feb 4, 2019
@mairaw mairaw added this to the Backlog milestone Feb 4, 2019
@KexyBiscuit
Copy link
Contributor

Related: dotnet/try#92

@rpetrusha
Copy link
Contributor

I don't think that the issue here is related to caching. It seems to me that the local time zone is UTC, and that the UTC offset is not retrieved from the user's browser settings.

@BillWagner
Copy link
Member

closing in deference of dotnet/try#167

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs-experience Indicates issues that are about the learn.microsoft.com experience or design [org][type][category] dotnet-csharp/svc external Not related to content
Projects
None yet
Development

No branches or pull requests

7 participants