def _timestamp_as_iso_8601(self, timestamp):
    tz = ''
    if (not self.local):
        tz = 'Z'
    return timestamp.strftime(('%Y-%m-%dT%H:%M:%S' + tz))
def _timestamp_as_iso_8601(self, timestamp):
    tz = 
    if (not self.local):
        tz = 'Z'
    return timestamp.strftime(('%Y-%m-%dT%H:%M:%S' + tz))