Join Slack
Powered by
i have a stupid problem. i want to group dates by ...
# announcements
t
tipsy
12/13/2017, 7:56 PM
i have a stupid problem. i want to group dates by year and month, like this:
dates.groupingBy { getYearAndMonth(it) }
but if there are 0 dates for a year and month, i want an entry for it anyway 🤔 is there anything sneaky you could do to make this work?
5
Views
Open in Slack
Previous
Next