From 3cba8f88c15b5276d5d4e1e7869462521815df7a Mon Sep 17 00:00:00 2001 From: Connor Johnstone Date: Tue, 24 Mar 2026 11:38:07 -0400 Subject: [PATCH] fixed up the featured artist thing --- src/indexer.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/indexer.rs b/src/indexer.rs index 2210b08..a06436b 100644 --- a/src/indexer.rs +++ b/src/indexer.rs @@ -130,9 +130,7 @@ pub async fn index_file( .modified() .ok() .and_then(|t| { - let duration = t - .duration_since(std::time::UNIX_EPOCH) - .unwrap_or_default(); + let duration = t.duration_since(std::time::UNIX_EPOCH).unwrap_or_default(); chrono::DateTime::from_timestamp(duration.as_secs() as i64, 0) }) .map(|dt| dt.naive_utc())