fix(blog::components::check_update) remove the use of deprecated api

This commit is contained in:
lumither committed 2025-04-12 23:31:52 -07:00
1 parent b11b19b0f5
commit 9270abc4b7
1 file changed
+1 -1
@@ -51,7 +51,7 @@ mod tests {
#[test] #[test]
fn test_parse_naive_date() { fn test_parse_naive_date() {
assert_eq!( assert_eq!(
Some(NaiveDate::from_ymd(2015, 1, 1)), NaiveDate::from_ymd_opt(2015, 1, 1),
parse_naive_date_str("2015-1-01") parse_naive_date_str("2015-1-01")
); );
} }