fix time format for IE