Skip to content

Commit

Permalink
fix: use getDate
Browse files Browse the repository at this point in the history
  • Loading branch information
ImRodry committed Feb 18, 2024
1 parent 775630b commit f162733
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/user.js
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ function openTripHistory() {
"nov.",
"dez.",
];
const formattedDate = `${tripDate.getDay()} ${
const formattedDate = `${tripDate.getDate()} ${
monthNumberToShortForm[tripDate.getMonth()]
} ${tripDate.getFullYear()}`;

Expand Down

0 comments on commit f162733

Please sign in to comment.