From f16a817da22c86faca219da11081f99b13b96f93 Mon Sep 17 00:00:00 2001 From: Quaternions <krakow20@gmail.com> Date: Fri, 4 Apr 2025 16:26:37 -0700 Subject: [PATCH] web: maps: format date --- web/src/app/maps/[mapId]/page.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/app/maps/[mapId]/page.tsx b/web/src/app/maps/[mapId]/page.tsx index 46e127b..4674447 100644 --- a/web/src/app/maps/[mapId]/page.tsx +++ b/web/src/app/maps/[mapId]/page.tsx @@ -45,7 +45,7 @@ export default function Map() { <p>Display Name: { map.DisplayName }</p> <p>Creator: { map.Creator }</p> <p>GameID: { map.GameID }</p> - <p>Release Date: { map.Date }</p> + <p>Release Date: { new Date(map.Date * 1000).toLocaleString() }</p> <Button name="Submit A Mapfix For This Map" href={`/maps/${mapId}/fix`}/> <aside className="review-area"> <section className="map-image-area">