Can I transfer previous years charitable donations to a spouse?

these are contributions made in year 2021?