Skip to content

Commit

Permalink
Improve date displaying
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasGrosjean committed May 30, 2021
1 parent 35b1c75 commit d9b6305
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/classes/PopUp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const fillPopUp = function (data: OpsData) {
}
const popUpDate = document.getElementById('popUpDate')
if (popUpDate) {
popUpDate.innerText = data.date.toLocaleDateString()
popUpDate.innerText = data.date.toDateString()
}
const popUpBoatType = document.getElementById('popUpBoatType')
if (popUpBoatType) {
Expand Down

0 comments on commit d9b6305

Please sign in to comment.