
    Nvid                     X    S r SSKrSSKrS\S\S\S\4S jrS\S\R                  4S	 jrg)
z-For when pip wants to check the date or time.    Nyearmonthdayreturnc                 t    [         R                  R                  5       n[         R                  " XU5      nX4:  $ )N)datetimedatetoday)r   r   r   r
   givens        X/var/www/html/land-ocr/venv/lib/python3.13/site-packages/pip/_internal/utils/datetime.pytoday_is_later_thanr      s,    MM!EMM$s+E=    isodatec                 2   [         R                  S:  a  [        R                  R                  U 5      $ [        R                  R                  U R	                  S5      (       a0  SU ;   d  SU R                  5       ;   a  U R                  SS5      5      $ U 5      $ )zConvert an ISO format string to a datetime.

Handles the format 2020-01-22T14:24:01Z (trailing Z)
which is not supported by older versions of fromisoformat.
)      ZT z+00:00)sysversion_infor   fromisoformatendswithstripreplace)r   s    r   parse_iso_datetimer      s     7"  ..w77  ..$$#.C7==?<R OOC*
 	
 
 	
r   )__doc__r   r   intboolr   strr    r   r   <module>r"      sH    3  
c # C D 
 
(9(9 
r   