fix time element datetime attributes