Format string to browser locale

This commit is contained in:
loicbersier 2021-06-22 23:57:55 +02:00
parent 05b765c6f0
commit 4de45c1672

View file

@ -143,7 +143,7 @@ Come take a look here https://git.namejeff.xyz/Supositware/jeff-downloader for a
<div class="control"> <div class="control">
<div class="tags has-addons"> <div class="tags has-addons">
<span class="tag">Download date</span> <span class="tag">Download date</span>
<span class="tag is-primary"><%= file.date %></span> <span class="tag is-primary"><%= file.date.toLocaleString() %></span>
</div> </div>
</div> </div>
</div> </div>