WIP feature test for grouping by daily period
Extract common week and month methods to Period classt :w
Moving more methods to Period
Day starts at the beginning of the day
Remove hardcoded references to week_start_at and month_start_at
Pep8
Replace hardcoded period by period from PERIODSt :
make sure we’re at the start of the day bruv
tests for day ranges
Clarify monthly group test
Fix test data to be more than 7 days
WIP feature test for grouping by hour
Hour period starts at the beginning of the hour
Hour validate if timestamp is at start of hour
Hour produce an hourly range
Fix expectation
Pep8
Test start_at and end_at are at midnight
Exclude hour from midnight boundary check
Test validatio for time span of 7 days