Here's a little pull-request that lets you pass range filters directly as dates rather than as integers. There's no longer any limitation with the now() value acting as a pivot.
This avoids performance limitations and saves a later call to the eventsFromRange() function by filtering events upstream.
I'm not a big fan of having 2 possible types (integer or date) for filters, but I'd rather avoid any breaking changes.
Hello,
Here's a little pull-request that lets you pass range filters directly as dates rather than as integers. There's no longer any limitation with the now() value acting as a pivot.
This avoids performance limitations and saves a later call to the eventsFromRange() function by filtering events upstream.
I'm not a big fan of having 2 possible types (integer or date) for filters, but I'd rather avoid any breaking changes.