:gem: Make time_query able to generate non-inclusive daterange queries