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:
parent
ef3ea38834
commit
c310cbaa0d
@ -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)
|
||||
);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user