adrianlee44/ical2json

Parsing results from ICS files from APPLE are not correct

seba90 opened this issue · 0 comments

I am applying the ical2json lib on my own personal calendar file which is from Apple.
However, I realized some calendar entries are not parsed correctly.
I get for calendar entries, which have the property X-APPLE-STRUCTURED-LOCATION before the DTSTART property, the following value if I am accessing the generated json via the DTSTART key :

20220809T211500straße Mitte, 85445 Oberding, Germany";X-APPLE-MAPKIT-HANDLE=CAESjAIIrk0Q5JD26aGuhLEHGhIJfvieNk8tSEARmS+KebGTJ0AibQoHR2VybWFueRICREUaB0JhdmFyaWEqBkVyZGluZzIIT2JlcmRpbmc6BTg1NDQ1UhVUZXJtaW5hbHN0cmHDn2UgTWl0dGViFVRlcm1pbmFsc3RyYcOfZSBNaXR0ZXIOTXVuaWNoIEFpcnBvcnQqDk11bmljaCBBaXJwb3J0Mg5NdW5pY2ggQWlycG9ydDIVVGVybWluYWxzdHJhw59lIE1pdHRlMg44NTQ0NSBPYmVyZGluZzIHR2VybWFueTgvUAFaJgokCOSQ9umhroSxBxISCX74njZPLUhAEZkvinmxkydAGK5NkAMB;X-TITLE=Munich Airport:geo:48.353980,11.788463

I attached an example file so the issue can be reconstructed. Just rename it back to .ics since github doesnt allow uploading ics files.

I am using ical2json Version 4.0.1.

entry_example.txt