You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ python3 -q -Wall
>>> from dateparser import parse
>>> parse("2024-11-27")
.../lib/python3.13/site-packages/dateparser/utils/strptime.py:94: DeprecationWarning: Parsing dates involving a day of month without a year specified is ambiguious
and fails to parse leap day. The default behavior will change in Python 3.15
to either always raise an exception or to use a different default year (TBD).
To avoid trouble, add a specific year to the input & format.
See https://github.com/python/cpython/issues/70647.
obj = datetime(*__strptime(date_string, format)[:-3])
.../lib/python3.13/site-packages/dateparser/utils/strptime.py:94: DeprecationWarning: Parsing dates involving a day of month without a year specified is ambiguious
and fails to parse leap day. The default behavior will change in Python 3.15
to either always raise an exception or to use a different default year (TBD).
To avoid trouble, add a specific year to the input & format.
See https://github.com/python/cpython/issues/70647.
obj = datetime(*__strptime(date_string, format)[:-3])
datetime.datetime(2024, 11, 27, 0, 0)
The text was updated successfully, but these errors were encountered:
dateparser 1.2.0 on Python 3.13 / Linux:
The text was updated successfully, but these errors were encountered: