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

Decoding date into time.Time does not work

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 0.0.15
    • Affects Version/s: 0.0.13
    • Component/s: BSON
    • Labels:

      There is a test in bson/bson_test.go called 
      TestTimeRoundTrip on line 111, this test passes just because the time value is set to the default zero value, adding anything else will result in the error: "reflect.Set: value of type int64 is not assignable to type time.Time"
       

            Assignee:
            kris.brandow@mongodb.com Kristofer Brandow (Inactive)
            Reporter:
            ddanna79 Delio D'Anna
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: