timestamp = time.mktime(ntuple)
date = datetime.datetime.fromtimestamp(timestamp)
return date.strftime('%a, %d %b %Y %H:%M:%S')
print(standardize_date('Mon, 16 Aug 2010 24:00:00'))
How can I convert the time in a datetime string from 24:00 to 00:00 in Python?