HEX
Server: Apache
System: Linux srv10.cpanelhost.cl 3.10.0-962.3.2.lve1.5.88.el7.x86_64 #1 SMP Fri Sep 26 14:06:42 UTC 2025 x86_64
User: cco26461 (4967)
PHP: 7.4.33
Disabled: NONE
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