Open tomjmul opened 7 years ago
It's been a while since I looked at this, do you have an example that shows the problem?
all the comparisons should be being done in UTC time (unless I've missed one somewhere)
OK, it's triggering at the right time, but it's adding the wrong time (well the time is right, but timezone is wrong) to the msg that it outputs
Thanks for the quick fix. I'll test as soon as I get a chance.
This change is broken, I'll try and fix it again tomorrow
Looks like the date comparison might be a bit off. The calendar saves to UTC, which is then converted to local time:
evtStart.setTime(Date.parse(node.events[i].start))
and then that is compared to the current UTC time.