1
0
mirror of https://github.com/bspeice/dtparse synced 2025-07-04 07:15:01 -04:00

Fix deprecations

This commit is contained in:
2023-03-25 02:29:55 +00:00
parent 3a9e2674a6
commit b925b968ca
5 changed files with 750 additions and 2494 deletions

View File

@ -43,6 +43,6 @@ fn main() {
)
.unwrap()
.0,
NaiveDate::from_ymd(2015, 9, 10).and_hms(10, 20, 0)
NaiveDate::from_ymd_opt(2015, 9, 10).unwrap().and_hms_opt(10, 20, 0).unwrap()
);
}