web: maps: format date
This commit is contained in:
parent
e858d252ab
commit
f16a817da2
@ -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">
|
||||
|
Loading…
x
Reference in New Issue
Block a user