def _format_time(when):
    if when is None:
        return None
    return datetime.isoformat(when)
Format a time to ISO8601 format.  Or if there is no time, just return
dataset/ETHPy150Open ClusterHQ/flocker/admin/cleanup.py/_format_time