diff options
| author | Robin Stocker | 2017-08-22 05:29:28 +1000 |
|---|---|---|
| committer | Ed Barnard | 2017-08-21 20:29:28 +0100 |
| commit | 33f92308e8fe3f88a80b11eb7b2dee1d27977443 (patch) | |
| tree | 84251c18df98cefad6a2bb7c4b4d8aa10cbef78a /src/binary | |
| parent | b0d6118889409aa6fb13a7855d5ede17c3d11cc1 (diff) | |
| download | rust-plist-33f92308e8fe3f88a80b11eb7b2dee1d27977443.tar.bz2 | |
Upgrade chrono from 0.3 to 0.4 (#23)
Diffstat (limited to 'src/binary')
| -rw-r--r-- | src/binary/reader.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/binary/reader.rs b/src/binary/reader.rs index 25ead2a..f63f127 100644 --- a/src/binary/reader.rs +++ b/src/binary/reader.rs @@ -320,7 +320,7 @@ impl<R: Read + Seek> Iterator for EventReader<R> { #[cfg(test)] mod tests { - use chrono::{TimeZone, UTC}; + use chrono::{TimeZone, Utc}; use std::fs::File; use std::path::Path; @@ -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(Utc.ymd(1981, 05, 16).and_hms(11, 32, 06).into()), StringValue("Author".to_owned()), StringValue("William Shakespeare".to_owned()), StringValue("Data".to_owned()), |
