fixing minor sorting bug in talks

main
mwinter 3 months ago
parent 206575f0ca
commit bd9fa9cf65

@ -70,6 +70,7 @@
transform: (events) => {
for (const event of events) {
let date = new Date(event.date)
event.date = date
event.formatted_date = ("0" + (date.getMonth() + 1)).slice(-2) + "." + ("0" + date.getDate()).slice(-2) + "." + date.getFullYear()
if(typeof event.title === 'string' || event.title instanceof String) {event.talks = [{'title': event.title}]
} else {

Loading…
Cancel
Save