changing date format in index