Skip to content

Commit

Permalink
close #816
Browse files Browse the repository at this point in the history
  • Loading branch information
jstet committed Oct 2, 2024
1 parent 1bc55a0 commit 7b8bcf6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/lib/data/pageKeys.js
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ export default {
'navbar.newsletter': {text: 'Newsletter', url: '/en/newsletter'},
'navbar.donate': {
text: 'Donate',
url: 'https://www.betterplace.org/de/projects/58963-correlaid-e-v-data-for-good',
url: 'https://secure.betterplace.org/de/donate/platform/projects/58963',
},
'navbar.jobs': {text: 'Jobs', url: '/en/jobs'},
'footer.imprint': {text: 'Imprint', url: '/en/imprint'},
Expand Down
4 changes: 3 additions & 1 deletion src/lib/js/parsing/processing/misc.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,13 @@ export function processIcal(events, locale) {
const startDate = ical.start_time
? new Date(`${ical.date} ${ical.start_time}`)
: new Date(ical.date);

const endDate = ical.end_date
? ical.endTime
? ical.end_time
? new Date(`${ical.end_date} ${ical.end_time}`)
: new Date(ical.end_date)
: new Date(`${ical.date} ${ical.end_time}`);

const location = ical.online === true ? 'Online' : ical.location;
const uuid5 = uuidv5(ical.title, uuidv5.URL);

Expand Down

0 comments on commit 7b8bcf6

Please sign in to comment.