Uploaded image for project: 'Go Driver'
  1. Go Driver
  2. GODRIVER-1328

Loosen strictness of date parsing in the driver

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 1.2.0
    • JSON & ExtJSON
    • None
    • Fully Compatible

    Description

      Currently, it seems that the Go driver is quite strict in enforcing RFC3339 format for its dates, but the docs mention that dates conform to the more looser superset of ISO8601.

      The Python driver seems to be more lenient with this and allows valid ISO8601, but is strict in its output and will give back RFC3339.

      This is currently affecting a customer for Atlas Data Lake, who is using ISO8601 date format that is in conflict with RFC3339, and is causing errors when using the Go driver to parse their JSON.

      Attachments

        Activity

          People

            divjot.arora@mongodb.com Divjot Arora
            may.hoque@mongodb.com May Hoque
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: