Skip to content

Instantly share code, notes, and snippets.

Roger Cyr r-cyr

  • Montreal, Canada
Block or report user

Report or block r-cyr

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View foo.js
fetch().filter(event => (
var startTime = new Date(event.start_time).getTime();
var eventStart = Date.now() - 21600000;
var eventEnd = Date.now() - 7776000000;
params.location = params.location || event.location;
return (startTime >= eventStart) && (startTime <= eventEnd);
));
You can’t perform that action at this time.