Iterating through date/time per date

Hello all,

I am successfully using Full Calendar in my application and am also listing the resulting events in another template as well. However, I would like to list these events by date as a header and then a list of events below each header with their times if they’re on the same day. Something like how Whatsapp displays messages. What would be the best practice to achieve this? Blaze only please!


I’d use lodash’s groupBy function and Moment.js and then pass the results off to helper functions to use in Blaze.

@rhywden thanks that seems to be a good plan! Although I’ll use the identical underscorejs function.