Enhance query performance when filtering for groups and reduce double query execution
DateFormatter::formatDateTime
hasResult()