Fix issue with date exclusion
Fix issue with date exclusion

Basically, I'm new to js and just learned typeof doesn't work with dates. I'm pretty sure there's a less atrocious way to check this, but it's what I've got now.
sebbo2002/ical-generator,ocelotsloth/lib-ical,sebbo2002/ical-generator