I have the below setup to convert the dateTime string from a JSON to a DateTime variable in Python.
datetime_object = datetime.strptime(item.published.strip(), '&a, %d %b %Y %H:%M:%S %Z')
below is the error, where is my formatting going wrong?
ValueError: time data 'Wed, 21 Jul 2021 05:00:00 +0000' does not match format '&a, %d %b %Y %H:%M:%S %Z'