aboutsummaryrefslogtreecommitdiffstats
path: root/src/binary
diff options
context:
space:
mode:
authorEdward Barnard2018-02-27 10:22:42 +0000
committerEdward Barnard2018-02-27 10:33:54 +0000
commitc91087906540c210bdb457b32fb976ce735b22f9 (patch)
tree1968d9710404fc8386f68c56f705d5d02774bbbb /src/binary
parent3ad6b78c4583b9ea8a801cd963d569eecbae144b (diff)
downloadrust-plist-c91087906540c210bdb457b32fb976ce735b22f9.tar.bz2
Stop exposing internal functions and chrono types in Date.
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()),