Uploaded image for project: 'Couchbase .NET client library'
  1. Couchbase .NET client library
  2. NCBC-2924

DateParseHandling not carried through from SerializerSettings to DefaultStreamingJsonReader

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 3.2.0
    • None
    • None
    • None
    • 1

    Description

      Given the following JSON returned from a query result

      { "value": "2021-06-21T10:16:56.9714243-8:00" }
      

      The value returned by DefaultJsonStreamReader is

      a) Always in the local time zone

      b) Coverted from the original timezone to the local timezone

       

      However, even if the DefaultSerializer is overridden with DateParseHandling.DateTimeOffset, this behavior persists.

      Attachments

        Activity

          People

            richard.ponton Richard Ponton
            richard.ponton Richard Ponton
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              PagerDuty