feat(app/utils, plugins): normalize dates with improved format (#573)

This commit is contained in:
Simon Lecoq
2021-10-13 22:08:31 -04:00
committed by GitHub
parent 19036b2e41
commit 662fe8de2f
16 changed files with 32 additions and 16 deletions

View File

@@ -89,7 +89,7 @@ const format = {
accepted,
comments,
author,
created:imports.format.date(creation_date * 1000, {dateStyle:"short"}),
created:imports.format.date(creation_date * 1000, {date:true}),
link,
id,
question_id,
@@ -136,7 +136,7 @@ const format = {
comments,
views,
author,
created:imports.format.date(creation_date * 1000, {dateStyle:"short"}),
created:imports.format.date(creation_date * 1000, {date:true}),
link,
id,
accepted_answer_id,