diff --git a/src/search/indexing/local_import.rs b/src/search/indexing/local_import.rs index ec805c6c6..2db614c97 100644 --- a/src/search/indexing/local_import.rs +++ b/src/search/indexing/local_import.rs @@ -79,7 +79,7 @@ pub async fn index_local( downloads: m.downloads, icon_url: m.icon_url.unwrap_or_default(), author: m.username, - date_created: m.published, + date_created: m.approved.unwrap_or(m.published), created_timestamp: m.approved.unwrap_or(m.published).timestamp(), date_modified: m.updated, modified_timestamp: m.updated.timestamp(),