-1
Supposing I did have:
<div class='datas'>
<span>01-01-2019</span>
<span>01-02-2019</span>
</div>
<div class='datas'>
<span>01-03-2019</span>
<span>01-03-2019</span>
</div>
How can I exchange all strokes for slashes so that it is in the format day/month/year?
A good practice would be to render the already formatted date, for all possible scenarios this would be the best.
– João Carlos Junior