couple of style fixes. used locale for date.