aboutsummaryrefslogtreecommitdiffstats
path: root/src/binary
diff options
context:
space:
mode:
Diffstat (limited to 'src/binary')
-rw-r--r--src/binary/reader.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/binary/reader.rs b/src/binary/reader.rs
index f63f127..bf21864 100644
--- a/src/binary/reader.rs
+++ b/src/binary/reader.rs
@@ -346,7 +346,7 @@ mod tests {
StringValue("Height".to_owned()),
RealValue(1.60),
StringValue("Birthdate".to_owned()),
- DateValue(Utc.ymd(1981, 05, 16).and_hms(11, 32, 06).into()),
+ DateValue(Date::from_chrono(Utc.ymd(1981, 05, 16).and_hms(11, 32, 06))),
StringValue("Author".to_owned()),
StringValue("William Shakespeare".to_owned()),
StringValue("Data".to_owned()),