Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upgroup_times misses nearest hour with mins threshold #5
Comments
group_times misses nearest hour with mins threshold (fixes #5)
If
group_timesthreshold is minutes (e.g. 5 minutes), we aren't grouping to the nearest hour if we are nearer to next hour than e.g. 55 minutes.Example:
We'd expect here to have 3 timegroups (on 1:00, 3:00 and 5:00).
We end up with 6.
Note: this kind of rolling to the nearest hour was addressed for the less frequent, rolling 24 hours to the next day.
Regardless, still miss grouping row 3 and row 9.