Skip to content

Commit

Permalink
chore(deps): bump chrono dependency (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
orhun authored Apr 29, 2024
1 parent edcafc1 commit 558b818
Show file tree
Hide file tree
Showing 2 changed files with 125 additions and 31 deletions.
152 changes: 122 additions & 30 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion src/feed.rs
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,9 @@ impl Metafile {
Ok(parsed_ndt) => parsed_ndt,
Err(_) => {
warn!("Failed parsing datetime: {:?}", datetime);
NaiveDateTime::from_timestamp(0, 0)
DateTime::from_timestamp(0, 0)
.unwrap_or_default()
.naive_utc()
}
},
}
Expand Down

0 comments on commit 558b818

Please sign in to comment.