Skip to content

Commit

Permalink
Improve date displaying
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasGrosjean committed Jun 5, 2021
1 parent 1050192 commit 7c5cfa5
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 7c5cfa5

Please sign in to comment.