

def _format_time(self, dt):
    time_format = '%Y-%m-%dT%H:%M:%SZ'
    if dt:
        return datetime.datetime.strftime(dt, time_format)
    else:
        return ''

dataset/ETHPy150Open openstack/stacktach-winchester/winchester/pipeline_handler.py AtomPubHandler._format_time/original