Decoding date into time.Time does not work

XMLWordPrintableJSON

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

      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:
              Kristofer Brandow (Inactive)
              Reporter:
              Delio D'Anna
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: