I'm making simple week calendar in React where I need to display columns with hours. Calendar will be generated onClick and based on actual week number will show whole week mon-sun. I'm using Moment.js to menage date.
What I'm trying to do is to increase day number by 1 with every map loop. Right now I know how to display right day number for actual day. But how can I increase it by 1 with every loop? I tried this solution