You've already forked AstralRinth
forked from didirus/AstralRinth
update index to use approval date if set (#540)
Co-authored-by: MagnusHJensen <magnus.holm.jensen@lego.dk> Co-authored-by: Geometrically <18202329+Geometrically@users.noreply.github.com>
This commit is contained in:
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user