bson can not marshal datetime ISODate json correct

XMLWordPrintableJSON

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

      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
              Reporter:
              Lee Nanxi
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: