Python UTC datetime object”s ISO format doesn”t include Z (Zulu or Zero offset)

| | | | | | | |

Why python 2.7 doesn"t include Z character (Zulu or zero offset) at the end of UTC datetime object"s isoformat string unlike JavaScript?

>>> datetime.datetime.utcnow().isoformat()
"2013-10-29T09:14:03.895210"

Whereas in javascript

>>>  console.log(new Date().toISOString()); 
2013-10-29T09:38:41.341Z