I used:
"Extract the important dates and times from this pdf in Swedish"
[..]
"Great now generate the content of an ics formatted file, just the text, with the schedule above"
"Now use the code interpreter to create a file with the above content then save the file as an .ics extension"