t27duck / active_reporting

OLAP-like DSL for ActiveRecord-based reporting
MIT License
136 stars 19 forks source link

Allow datetime hierarchies with date fields too #19

Open andresgutgon opened 6 years ago

andresgutgon commented 6 years ago

What?

Now the gem only allow datetime hierarchies for datetime columns on database. It seems date fields are also valid

Values of type date and time are cast automatically to timestamp