You can add custom operations for grouping data by dates by using the addSubField method