mirror of
https://github.com/Lumither/nocturne.git
synced 2026-10-17 18:36:21 +00:00
fix(blog::components::check_update) remove the use of deprecated api
This commit is contained in:
1 file changed
+1
-1
@@ -51,7 +51,7 @@ mod tests {
|
||||
#[test]
|
||||
fn test_parse_naive_date() {
|
||||
assert_eq!(
|
||||
Some(NaiveDate::from_ymd(2015, 1, 1)),
|
||||
NaiveDate::from_ymd_opt(2015, 1, 1),
|
||||
parse_naive_date_str("2015-1-01")
|
||||
);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user