Skip to content

Conversation

@russcam
Copy link
Contributor

@russcam russcam commented Jun 7, 2018

This commit fixes an issue where the default Json.NET implementation when
creating a JToken from a reader, will convert DateTimeOffset to local time with
local offset. See JamesNK/Newtonsoft.Json#862. This
is unwanted when passing off to the SourceSerializer.

Closes #3164

This commit fixes an issue where the default Json.NET implementation when
creating a JToken from a reader, will convert DateTimeOffset to local time with
local offset. See JamesNK/Newtonsoft.Json#862. This
is unwanted when passing off to the SourceSerializer.

Closes #3164
Copy link
Member

@Mpdreamz Mpdreamz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dates strike again LGTM

Rider Refactoring removed this directive!
@russcam russcam merged commit ff2a867 into master Jun 7, 2018
russcam added a commit that referenced this pull request Jun 7, 2018
#3278)

* Respect JSON Dates from Elasticsearch when passing to SourceSerializer

This commit fixes an issue where the default Json.NET implementation when
creating a JToken from a reader, will convert DateTimeOffset to local time with
local offset. See JamesNK/Newtonsoft.Json#862. This
is unwanted when passing off to the SourceSerializer.

Closes #3164

(cherry picked from commit ff2a867)
@russcam russcam deleted the fix/3164 branch October 18, 2018 09:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ElasticClient.Search is not respecting SourceSerializer on results

4 participants