`valuesGraph.groupBy { it.time.toLocalDate() }.map...
# codereview
k
valuesGraph.groupBy { it.time.toLocalDate() }.mapValues { (_,v) -> v.last() }
1