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 1, 2021
1 parent a17a58b commit 98d50c2
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 98d50c2

Please sign in to comment.