replace \n-><BR>, correct date format