-
Notifications
You must be signed in to change notification settings - Fork 99
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
Incorrect timezone in datetime properties #347
Labels
Comments
Yes, passing a serializer that does not parse dates does appear to be a workaround.
Output:
|
I'm glad that helped. I'm going to close this issue, but feel free to reopen it if you still have issues. |
So basically if you want |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The timezone is being stripped off the timestamps fetched from the Okta API, resulting in UTC times being incorrectly cast to local times.
The
Resource.Get*Property
methods are converting the values in_data
to string then back to the target type, which for DateTime properties strips out theDateTime.Kind
.Project to replicate:
OktaDateTimeError.csproj:
Program.cs:
Output:
The text was updated successfully, but these errors were encountered: