Given an array of Date objects, group them by day. Each item in the returned array will itself be an array containing Date objects that share the same day, in ascending time value.
use group-by-date() instead.
group-by-date()
Given an array of Date objects, group them by day. Each item in the returned array will itself be an array containing Date objects that share the same day, in ascending time value.