HEX
Server: Apache
System: Linux sg241.singhost.net 2.6.32-896.16.1.lve1.4.51.el6.x86_64 #1 SMP Wed Jan 17 13:19:23 EST 2018 x86_64
User: honghock (909)
PHP: 8.0.30
Disabled: passthru,system,shell_exec,show_source,exec,popen,proc_open
Upload Files
File: //opt/alt/python37/lib/python3.7/site-packages/pip/_internal/utils/datetime.py
"""For when pip wants to check the date or time.
"""

from __future__ import absolute_import

import datetime


def today_is_later_than(year, month, day):
    # type: (int, int, int) -> bool
    today = datetime.date.today()
    given = datetime.date(year, month, day)

    return today > given