timetrack/__init__.py
def day_remainder(records, working_hours=10):
    """Calculate how much of your day is unspent"""

    day_minutes = int(working_hours) * 60
    total_spent = day_spent(records)

    return day_minutes - total_spent
Calculate how much of your day is unspent
Calculate how much of your day is unspent
Calculate how much of your day is unspent
def day_remainder(records, working_hours=10):
    day_minutes = int(working_hours) * 60
    total_spent = day_spent(records)
    return day_minutes - total_spent
def day_remainder ( records , working_hours = 10 ) : day_minutes = int ( working_hours ) * 60 total_spent = day_spent ( records ) return day_minutes - total_spent
Calculate how much of your day is unspent
Calculate how much of your day is unspent
"""Calculate how much of your day is unspent"""
records
working_hours