Skip to content

Commit

Permalink
fix issue with detailed-date util function returning current time/date
Browse files Browse the repository at this point in the history
  • Loading branch information
elpoelma committed Jul 22, 2024
1 parent b193ce0 commit 6b63c5f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/gorgeous-files-smoke.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'frontend-gelinkt-notuleren': patch
---

Fix wrong date being shown on meeting overview page
2 changes: 1 addition & 1 deletion app/utils/detailed-date.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export const detailedDate = (datetime) => {
minute: '2-digit',
hour12: false,
});
const parts = datetimeformat.formatToParts();
const parts = datetimeformat.formatToParts(datetime);
const formatMap = {};
for (const part of parts) {
if (part.type !== 'literal') {
Expand Down

0 comments on commit 6b63c5f

Please sign in to comment.