Fix date format (#71)

This commit is contained in:
Geometrically
2020-10-11 11:35:50 -07:00
committed by GitHub
parent 2719ae5df2
commit b8eda40937

View File

@@ -197,9 +197,9 @@ pub async fn index_curseforge(
page_url: curseforge_mod.website_url,
icon_url,
author_url: (&curseforge_mod.authors[0].url).to_string(),
date_created: created.to_string(),
date_created: created.to_rfc3339(),
created_timestamp: created.timestamp(),
date_modified: modified.to_string(),
date_modified: modified.to_rfc3339(),
modified_timestamp: modified.timestamp(),
latest_version,
host: Cow::Borrowed("curseforge"),