from datetime import date, datetime

# checks how long has elapsed between a release and the current time


def day_check(release):
    ptime = datetime.strptime(release, "%Y-%m-%dT%H:%M:%S.%fZ")

    release_time = date(ptime.year, ptime.month, ptime.day)
    current_time = date(datetime.today().year,
                        datetime.today().month, datetime.today().day)

    diff = current_time - release_time
    return diff.days

861a5bacefcc8c3a1f0e66033a14d0d6af792de9
<mask token>

<mask token>


def day_check(release):
    ptime = datetime.strptime(release, '%Y-%m-%dT%H:%M:%S.%fZ')
    release_time = date(ptime.year, ptime.month, ptime.day)
    current_time = date(datetime.today().year, datetime.today().month,
        datetime.today().day)
    diff = current_time - release_time
    return diff.days

from datetime import date, datetime


def day_check(release):
    ptime = datetime.strptime(release, '%Y-%m-%dT%H:%M:%S.%fZ')
    release_time = date(ptime.year, ptime.month, ptime.day)
    current_time = date(datetime.today().year, datetime.today().month,
        datetime.today().day)
    diff = current_time - release_time
    return diff.days

from datetime import date, datetime

# checks how long has elapsed between a release and the current time


def day_check(release):
    ptime = datetime.strptime(release, "%Y-%m-%dT%H:%M:%S.%fZ")

    release_time = date(ptime.year, ptime.month, ptime.day)
    current_time = date(datetime.today().year,
                        datetime.today().month, datetime.today().day)

    diff = current_time - release_time
    return diff.days
