The project is pretty cool, but I don't think it's worth adding the dependency lock-in for the functions.
Simply, if you know ahead of time that you want GROUP BY date, then you should create a new column for each interval. `week`, `day`, `hour`.
That way you will have fast queries...