I created one calendar and I don't find the solution to add one className when the date is equal "today", please see the link demo:
https://compassionate-beaver-fe6c05.netlify.com/
the code is:
https://github.com/fzabra/react-calendar/blob/master/src/Components/Calendar.jsx
The follow condition return the date today:
if (dateDay === today.getDate() && currentYear === today.getFullYear() && currentMonth === today.getMonth()) {
console.log(dateDay)
}
Observe that the console show the date of today. The square today is a it element have one id="dateDay", I think something like document.getElementById doesn't work, anybody has any ideas?
Thank you

dateDayis a number, add atodayor something