After retrieving a JSON file using an API, it looks something like this:
timeline: {
cases: {
'5/13/21': 5902343,
'...' : ...
},
}
This data is then used to create a chart using ChartJs.
The problem is that the dates in the JSON file are formatted as MM/DD/YY and I want to change them to DD/MM/YY.