I have a python script to read the news RSS feed and extract the current news. I am using datatime.now() to get the current date and extract the article for the same date. I am now getting this TimeZone Warning, and articles are being extracted for wrong dates. Any solution to overcome this??
UnknownTimezoneWarning: tzname IST 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. "