|
|
@ -70,6 +70,7 @@
|
|
|
|
transform: (events) => {
|
|
|
|
transform: (events) => {
|
|
|
|
for (const event of events) {
|
|
|
|
for (const event of events) {
|
|
|
|
let date = new Date(event.date)
|
|
|
|
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()
|
|
|
|
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}]
|
|
|
|
if(typeof event.title === 'string' || event.title instanceof String) {event.talks = [{'title': event.title}]
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|