

def timeuntil(d, now=None):
    '\n    Like timesince, but returns a string measuring the time until\n    the given time.\n    '
    if (not now):
        if getattr(d, 'tzinfo', None):
            now = datetime.datetime.now(LocalTimezone(d))
        else:
            now = datetime.datetime.now()
    return timesince(now, now)

dataset/ETHPy150Open dcramer/django-compositepks/django/utils/timesince.py timeuntil/VarMisuse@72/121 `d`->`now`