-
Notifications
You must be signed in to change notification settings - Fork 10.1k
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
DateTime always displays as UTC #15776
Comments
This is a mono issue and should be reported on https://github.com/mono/mono
But this doesn't consider DST or adjustment rules. |
I have this JS snippet as a workaround but it's not the best thing either: |
Tracked here: |
Thanks all for clarification. |
[FYI] This is my workaround until mono/mono#6368 is fixed. |
DateTime values always display as UTC time, rather than local time even when explicitly forcing
.ToLocalTime()
.This:
displays UTC time.
The text was updated successfully, but these errors were encountered: