Skip to content
This repository has been archived by the owner on Jan 23, 2020. It is now read-only.

bug in parser of RTM file #1

Open
Arczi89 opened this issue Jul 14, 2017 · 2 comments
Open

bug in parser of RTM file #1

Arczi89 opened this issue Jul 14, 2017 · 2 comments

Comments

@Arczi89
Copy link

Arczi89 commented Jul 14, 2017

Firstly - thanks for great job! your program is very usefull :-)

There is a bug in parser of RTM file in convert.js - should be:

icalToolkit.parseToJSON(icsText, function (err, json) {
if (err) throw err;

var todo=json.VTODO;

todo.forEach(x => {
var title=x.SUMMARY;

instead of :
var todo=json.VCALENDAR[0].VTODO;

after this changes it works correctly for me

@laktak
Copy link
Owner

laktak commented Jul 15, 2017

Maybe the ical-toolkit interface has changed. I'll keep this issue open in case it helps someone else. Thanks.

@gmetrail
Copy link

gmetrail commented Aug 2, 2019

Confirmed that this fixes the problem and this works great thereafter.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants