From a5985e4ce5dc249fe3f21858a3e796de44160830 Mon Sep 17 00:00:00 2001 From: Michel Roegl-Brunner <73236783+michelroegl-brunner@users.noreply.github.com> Date: Tue, 18 Mar 2025 16:12:54 +0100 Subject: [PATCH] Forgot a thing (#3240) --- frontend/src/app/api/versions/route.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/app/api/versions/route.ts b/frontend/src/app/api/versions/route.ts index db891600f..94585bad9 100644 --- a/frontend/src/app/api/versions/route.ts +++ b/frontend/src/app/api/versions/route.ts @@ -19,7 +19,7 @@ const getVersions = async () => { const modifiedVersions = versions.map(version => { let newName = version.name; newName = newName.toLowerCase().replace(/[^a-z0-9/]/g, ''); - return { ...version, name: newName }; + return { ...version, name: newName, date: new Date(version.date) }; }); return modifiedVersions;