Skip to content

Conversation

rsempire
Copy link
Contributor

Doco is misleading indicating that when the timer does not use high res it returns DateTime.Now but looking at source code I can see that in fact it returns DateTime.UtcNow, so changed the documentation to reflect this small detail.

Summary

Describe your changes here.

Fixes #Issue_Number (if available)

Doco is misleading indicating that when the timer does not use high res it returns DateTime.Now but looking at source code I can see that in fact it returns DateTime.UtcNow, so changed the documentation to reflect this small detail.
@dotnet-bot dotnet-bot added this to the May 2020 milestone May 12, 2020
@gewarren
Copy link
Contributor

@tommcdon @sywhang @krwq Can one of you confirm that it should say UtcNow?

@gewarren gewarren requested a review from tommcdon July 21, 2020 21:20
@tommcdon
Copy link
Member

@krwq can you review?

@gewarren gewarren requested review from krwq and removed request for tommcdon July 21, 2020 21:41
@krwq
Copy link
Member

krwq commented Jul 23, 2020

Looking at .NET Core we seem to have removed the fall back and assert we won't need it but since full framework has that code I'm fine with the change

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants