document.querySelectorAll('.date').forEach(function(el, index, arr){el.innerText = el.innerText.split('-').reverse().join('.');})