Can't import Delta flight info to iCal

On the Delta Airlines flight confirmation webpage, I clicked Add to Calendar, then chose Add to iCal for Mac. Got a popup to Add to Calendar, clicked OK, but the event doesn't show up in my Mac or iPhone calendar. It does show up in Downloads. Running Yosemite 10.10.2 on an early 2013 MBP 13" Retina. What's a girl gotta do??

Posted on Mar 7, 2015 7:48 AM

Reply
11 replies

Mar 22, 2017 12:22 PM in response to George Dinwiddie

Thanks, George. I had the same problem with the missing "END:VEVENT". When I double clicked the filename to add it to Calendar an error message window popped up but it disappeared in less than a second, and I could never read what it said ("SAD"). However, your solution solved my problem.


M.Y.1 said he/she solved the problem by following the link from the confirmation email and then clicked to add the iCal event. What link in the confirmation email? The only links I found from the confirmation email were ones that led to my Flight Information page for my confirmation number, and that's the page that has the button that creates the incorrect iCal .ics file with the missing "END:VEVENT".


I also discovered a bug in an iCal event created by my hotel reservation on that same trip. When I double clicked the .ics file to add it to my calendar, it failed and the error message was "missing end date" (and, that popup didn't instantly disappear). But, there was both a "DTSTART:" and "DTEND:" line in the .ics file. However, when I compared the .ics file for Delta and the .ics file for the hotel I noticed the hotel's .ics file inserted a blank between "DTSTART:" and the date value, same for "DTEND:", but the Delta .ics file had no blank. I deleted the blank in the "DTSTART:" and "DTEND:" lines, then double clicked again on the file name, and it loaded correctly. To me (as a retired university professor of Computer Science) that seems like sloppy software design by Apple's iCal developers rather than a bug in the hotel's event creation software. I.e., Apple iCal developers should have written their software to ignore blank space between the tag and its value, IMO.

Apr 14, 2017 8:40 AM in response to lhitchner

About not finding the link in the confirmation email: I found a weird thing - the link I clicked on the webpage when I bought my ticket produced a different file than when I clicked the "Manage my trip" link in the confirmation email then the calendar link on the webpage again. So, weird, but true. The first file had the END:VEVENT line before the 2nd flight event, but the 2nd file did not. However, the first file had some other problem. I am not a coder, and don't know if this messes anything up, but the first file had this all together on one line: METHOD:PUBLISHBEGIN:VEVENT. I tried separating BEGIN:VEVENT to a new line and rerunning, but this first file still did not work. After I added the END:VEVENT line to the 2nd file, it worked. Anyway, thanks for the details and the fix, can't believe Delta is still issuing incorrect files for 2 years+.

Mar 7, 2015 3:07 PM in response to Ferd II

Well of course that was the first thing I tried, but it didn't make the event show up in iCal. There's a popup asking if I WANT to add it, and when I click OK, there's a brief flash down in my doc, but the event still doesn't show up in iCal. Not in either of my calendars, both of which are displayed.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Can't import Delta flight info to iCal

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.