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

Loosen strictness of date parsing in the driver

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.2.0
    • Affects Version/s: None
    • Component/s: JSON & ExtJSON
    • Labels:
      None
    • Fully Compatible

      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.

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

              Created:
              Updated:
              Resolved: