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

bson can not marshal datetime ISODate json correct

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.0.0-rc2
    • Affects Version/s: 1.0.0-rc1, 0.3.0
    • Component/s: BSON, Core API, CRUD
    • Environment:
      all

      fix datetime marshal json format. refer to rfc3339

      in golang 's json, the "time" format should be as same at rfc3339

       

      before:

      ```

      {     "created_at" : 1551093564256, }

      ```

      ```

      {     "after" : "2019-02-25T11:19:24.256Z", }

      ```

      more: https://github.com/mongodb/mongo-go-driver/pull/131

            Assignee:
            go-community-user Go Community User
            Reporter:
            linx Lee Nanxi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: