covid-tracker-material-ui-react
covid-tracker-material-ui-react copied to clipboard
Fix data for 3 month and 1 month graphs
trafficstars
Currently 3 months data is calculated from current date till current date - 90 days. but since covid19india has stopped supporting their api, only data till 31st October 2021 is available.

Changes that need to be made is last 3 months data should be shown for last 90 days with last day being 31st october. Same thing for 1 month with last day being 31st october
I've solved this bug by passing 31st october 2021 (the so called current date) to the Date constructor you call to get the current date
for more information https://github.com/BhavyaCodes/covid-tracker-material-ui-react/pull/37