Link backend to profile page

This commit is contained in:
T'JAMPENS QUENTIN p2406187
2025-12-02 17:40:52 +01:00
parent b099df933f
commit 98518be813
8 changed files with 104 additions and 90 deletions
+9
View File
@@ -0,0 +1,9 @@
export default function formatDate(d) {
const date = new Date(d);
const jj = String(date.getUTCDate()).padStart(2, '0');
const mm = String(date.getUTCMonth() + 1).padStart(2, '0');
const aaaa = date.getUTCFullYear();
return `${jj}/${mm}/${aaaa}`;
}