repair History.getDate test