Added datetime grouping buttons, and fixed the hour issue for reporting
times.