akoumjian/datefinder

UnknownTimezoneWarning warning

reagle opened this issue · 1 comments

reagle commented

The following command datefinder.find_dates(self.text) has started causing warnings to show when using this library:

/Users/reagle/.pyenv/versions/3.11.3/lib/python3.11/site-packages/dateutil/parser/_parser.py:1207: UnknownTimezoneWarning: tzname CET identified but not understood.  Pass `tzinfos` argument in order to correctly return a timezone-aware datetime.  In a future version, this will raise an exception.
  warnings.warn("tzname {tzname} identified but not understood.  "
reagle commented

This occurred when looking for dates on this page: https://gto76.github.io/python-cheatsheet/