Fixed the rendering of the date element