def format_date(then):
    if then is None:
        return ""
    try:
        now = time.time()
        delta = now - then
        return format_delta(delta)
    except (TypeError, ValueError):
        return ""
dataset/ETHPy150Open berrange/gerrymander/gerrymander/format.py/format_date/original