Refactors renderDays from Calendar