Quote date when checking for more recent contributions

And ensure correct format is used to set wmf_donor last_donation_date

Change-Id: I7f27bdd522dc0b4e44a1a434a96a93b82aa05d7d