

def date(obj, utc=False):
    _date = datetime(obj, utc=utc)
    if hasattr(_date, 'date'):
        return _date.date()
    else:
        return obj

dataset/ETHPy150Open debrouwere/facebook-insights/facebookinsights/utils/date.py date/VarMisuse@48/56 `_date`->`obj`