End of year donation

Hello, I sent a donation check to an organization on Dec. 15, 2022, but they did not deposit it until mid-January 2023. I made several donations to this organization in 2022 and they sent me a year end summary of donations and that last donation isn't on there.

 

My question is: Do I put that last donation on my 2022 tax return since I donated it in 2022 or should I wait until they acknowledge it at the end of 2023 and put in on my 2023 return? I don't have a preference for which year it goes on other than it be the correct one.

 

Thank you!