Problem with node-red-contrib-google-calendar

Hey,

i have a problem with the node-red-contrib-google-calendar.
I would like to get some events of the current day with this function:

const startDate = new Date();
const endDate = new Date();

endDate.setHours(22);
endDate.setMinutes(59);
endDate.setSeconds(59);

msg.payload = {calendarId:"xxxxxx", maxResults: "20"};
msg.payload.timeMin = startDate.toISOString();
msg.payload.timeMax = endDate.toISOString();
return msg;

But i can do what i want - the getEvent only takes the configuration of its own node.

So it don't takes the timeMin and timeMax. Why?
Does anybody work with this node which a similar application?

I wish you a nice day,
WernerM96

Nobody can help me?

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.