decode: preserve nanosecond precision when decoding time (#626)
Co-authored-by: Thomas Pelletier <thomas@pelletier.codes>
This commit is contained in:
@@ -1514,6 +1514,7 @@ func TestUnmarshalLocalDateTime(t *testing.T) {
|
||||
Minute: 32,
|
||||
Second: 0,
|
||||
Nanosecond: 999999000,
|
||||
Precision: 6,
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -1600,6 +1601,7 @@ func TestUnmarshalLocalTime(t *testing.T) {
|
||||
Minute: 32,
|
||||
Second: 0,
|
||||
Nanosecond: 999999000,
|
||||
Precision: 6,
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user