When managing dates, it is good practice to choose only one robust library and stick to it. To look up later, I wanted to keep one specific moment.js usage here. Solution Start date of the previous month const startDate = moment().add(-1, 'months').s...

Markdown supported · ⌘↵ to post
No responses yet.