From c91087906540c210bdb457b32fb976ce735b22f9 Mon Sep 17 00:00:00 2001 From: Edward Barnard Date: Tue, 27 Feb 2018 10:22:42 +0000 Subject: Stop exposing internal functions and chrono types in Date. --- src/binary/reader.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/binary/reader.rs') 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()), -- cgit v1.2.3