This commit is contained in:
2023-05-05 15:04:08 +02:00
parent cecfb0d788
commit 14bbd205f8
2 changed files with 2 additions and 2 deletions

View File

@@ -67,7 +67,7 @@ func (t *RFC3339Time) UnmarshalText(data []byte) error {
func (t *RFC3339Time) UnmarshalBSONValue(bt bsontype.Type, data []byte) error {
if bt == bsontype.Null {
*t = RFC3339Time{}
//t = nil
return nil
}
if bt != bsontype.DateTime {