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

Allow UTC DateTimes to be forced. #255

Merged
merged 1 commit into from
Oct 27, 2015

Conversation

kentcb
Copy link

@kentcb kentcb commented Oct 27, 2015

JSON.NET's BSON infrastructure writes DateTimes as UTC and reads them back as Local. There is a configuration property for this, but it exists only on the reader and writer - JsonSerializerSettings does not affect it. This PR adds the ability for client code to force a particular setting on JsonReader.DateTimeKindHandling.

JSON.NET's BSON infrastructure writes DateTimes as UTC and reads them back as Local. There is a configuration property for this, but it exists only on the reader and writer - JsonSerializerSettings does not affect it. This PR adds the ability for client code to force a particular setting on JsonReader.DateTimeKindHandling.
anaisbetts added a commit that referenced this pull request Oct 27, 2015
@anaisbetts anaisbetts merged commit b7f7305 into reactiveui:master Oct 27, 2015
@ghuntley ghuntley modified the milestone: 5.0.0 Nov 4, 2016
@lock lock bot locked and limited conversation to collaborators Jun 25, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants