Skip to content

UnknownTimezoneWarning Error #132

@vanislman

Description

@vanislman

My CBC newsfeeds stopped working a few weeks ago, and looking at the log file I see following error message:

Logger: py.warnings
Source: custom_components/feedparser/sensor.py:122
integration: feedparser ([documentation](https://github.com/custom-components/feedparser/blob/master/README.md))
First occurred: 17:46:32 (1 occurrences)
Last logged: 17:46:32
/usr/local/lib/python3.12/site-packages/dateutil/parser/_parser.py:1207: UnknownTimezoneWarning: tzname EDT 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. "

My configuration for this newsfeed is:

  - platform: feedparser
    name: CBC Business
    feed_url: 'https://www.cbc.ca/cmlink/rss-business'
    date_format: '%a, %d %b %Y %H:%M:%S %Z'
    scan_interval:
      hours: 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions