Uhrzeit fix
This commit is contained in:
@@ -24,5 +24,18 @@
|
||||
"location": "Erkrath",
|
||||
"category": "hi",
|
||||
"image": "/uploads/atos-logo-blau-jpg-1758737887080.jpg"
|
||||
},
|
||||
{
|
||||
"id": "915d730b-1239-478a-aa86-0cbb4edeea2f",
|
||||
"slug": "maimarkt",
|
||||
"createdAt": "2025-10-08T09:51:32.512Z",
|
||||
"updatedAt": "2025-10-08T09:52:18.407Z",
|
||||
"title": "Maimarkt",
|
||||
"description": "Everybody is welcome",
|
||||
"date": "2025-10-17",
|
||||
"time": "",
|
||||
"location": "TX",
|
||||
"category": "Youth",
|
||||
"image": "/uploads/output-png-1759917092013.png"
|
||||
}
|
||||
]
|
||||
@@ -134,7 +134,7 @@ app.get(
|
||||
const events = await readEvents();
|
||||
const sorted = events
|
||||
.slice()
|
||||
.sort((a, b) => new Date(a.date) - new Date(b.date));
|
||||
.sort((a, b) => a.date.localeCompare(b.date));
|
||||
res.json(sorted);
|
||||
})
|
||||
);
|
||||
|
||||
BIN
server/uploads/output-png-1759917092013.png
Normal file
BIN
server/uploads/output-png-1759917092013.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 89 KiB |
Reference in New Issue
Block a user