Skip to content

Commit a5985e4

Browse files
Forgot a thing (#3240)
1 parent aa369a1 commit a5985e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/src/app/api/versions/route.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const getVersions = async () => {
1919
const modifiedVersions = versions.map(version => {
2020
let newName = version.name;
2121
newName = newName.toLowerCase().replace(/[^a-z0-9/]/g, '');
22-
return { ...version, name: newName };
22+
return { ...version, name: newName, date: new Date(version.date) };
2323
});
2424

2525
return modifiedVersions;

0 commit comments

Comments
 (0)