1
0
mirror of https://github.com/bspeice/dtparse synced 2024-11-12 17:08:09 -05:00

Fix an example warning

This commit is contained in:
Bradlee Speice 2018-09-18 23:06:38 -04:00
parent ef3ea38834
commit c310cbaa0d

View File

@ -29,11 +29,11 @@ fn main() {
vec!["дек", "Декабрь"]
]);
let mut p = Parser::new(info);
let p = Parser::new(info);
assert_eq!(
p.parse("10 Сентябрь 2015 10:20", None, None, false, false, None, false, &HashMap::new())
.unwrap().0,
NaiveDate::from_ymd(2015, 9, 10).and_hms(10, 20, 0)
);
}
}