iprak / yahoofinance

Home Assistant component which allows you to get stock updates from Yahoo finance.
MIT License
81 stars 11 forks source link

Code cleanup #106

Closed iprak closed 11 months ago

iprak commented 11 months ago

Code/unit test cleanup. No functional changes besides using dividend_date = datetime.fromtimestamp(dividend_date_timestamp,tz=dt_util.DEFAULT_TIME_ZONE)

instead of

dividend_date = datetime.utcfromtimestamp(dividend_date_timestamp)