N1QL queries with the default serializer don't read DateTimeOffset correctly

Description

https://forums.couchbase.com/t/why-any-time-zone-is-automatically-converting-to-local-time-zone-when-retrieving-from-couchbase-sdk-using-net-sdk-3-2-8/33468

Note that this is mitigated by passing JsonSerializerSettings to DefaultSerializer with DateParseHandling.DateTimeOffset. However, the default behavior is different than the behavior found by calling GetAsync, which is very confusing.

Environment

None

Gerrit Reviews

None

Release Notes Description

None

Activity

Show:
Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Story Points

Components

Fix versions

Affects versions

Priority

Instabug

Open Instabug

PagerDuty

Sentry

Zendesk Support

Created April 30, 2022 at 3:31 PM
Updated May 3, 2022 at 6:35 PM
Resolved May 3, 2022 at 6:35 PM
Instabug