human
Js Date object to python datetime
assistant
Here is some code to convert js date object 'Tue, 22 Nov 2011 06:00:00 GMT' to python datetime

datetime.strptime('Tue, 22 Nov 2011 06:00:00 GMT', '%a, %d %b %Y %H:%M:%S %Z')

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.