1
0
mirror of https://github.com/barthuijgen/factorio-sites.git synced 2025-03-17 21:17:57 +02:00

Fix date formatting

This commit is contained in:
Bart 2021-03-17 12:10:44 +01:00
parent 1af7a6546f
commit 48d4c332bb

View File

@ -49,12 +49,12 @@ export const BlueprintInfo: React.FC<BlueprintInfoProps> = ({ blueprint_page })
<hr />
<dl>
<dt>Last updated:</dt>
<dd>{format(new Date(blueprint_page.updated_at * 1000), "DD/mm/YYYY")}</dd>
<dd>{format(new Date(blueprint_page.updated_at * 1000), "dd/mm/yyyy")}</dd>
</dl>
<hr />
<dl>
<dt>Created:</dt>
<dd>{format(new Date(blueprint_page.created_at * 1000), "DD/mm/YYYY")}</dd>
<dd>{format(new Date(blueprint_page.created_at * 1000), "dd/mm/yyyy")}</dd>
</dl>
<hr />
<dl>