Hacker News new | ask | show | jobs
by RubyPinch 3470 days ago
probably would be easier to hide it away in a small class with `__contains__`

    event_datetime in daterange(timedelta(hours=1), before=datetime.now())