projects/common/timeline/grouping.ts
Pulls the timestamp out of a consumer item. Anything the Date constructor accepts works, so ISO strings straight off an API response need no pre-mapping.
Date
function