async function fetchRepliesByDate(dates, dayAmount){
const lastDate = dates.slice(-1)[0];
let startDate = new Date(lastDate);
startDate.setUTCDate(startDate.getDate() - dayAmount);
console.log(startDate, startDate.getTime().toLocaleString());
const firstRow = dates.findIndex(v => v.getTime() == startDate.getTime());
const lastRow = dates.length + 1
const replies = await fetchReplies(firstRow, lastRow);
return replies
}