Changes the date output from a span to a div