diff --git a/rfctime/rfc3339Nano.go b/rfctime/rfc3339Nano.go index 8868dc8..f8df4c7 100644 --- a/rfctime/rfc3339Nano.go +++ b/rfctime/rfc3339Nano.go @@ -115,6 +115,8 @@ func (t RFC3339NanoTime) DecodeValue(dc bsoncodec.DecodeContext, vr bsonrw.Value return err } + val.Set(reflect.ValueOf(t)) + return nil }