updated to automatically format every date on the page