Converting timezone-aware datetime to local time in Python,datetime.datetime.fromtimestamp(calendar.timegm(d.timetuple()))