- {formatRange( + {dtf.formatRange( new Date(posts[0].createdAt), new Date(posts[posts.length - 1].createdAt), )} @@ -1836,9 +1838,6 @@ const dtf = new Intl.DateTimeFormat(locale, { hour: 'numeric', minute: 'numeric', }); -function formatRange(startDate, endDate) { - return dtf.formatRange(startDate, endDate); -} function binByTime(data, key, numBins) { // Extract dates from data objects