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
AttributeError: 'zoneinfo.ZoneInfo' object has no attribute 'localize'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File ~\Documents\python class\pygooglenews.py:16 in
s = gn.search( query="NVIDIA" , from_ = '2024-04-01', to_ = '2024-04-02' )
File ~\anaconda3\lib\site-packages\pygooglenews_init_.py:141 in search
from_ = self._from_to_helper(validate=from)
File ~\anaconda3\lib\site-packages\pygooglenews_init_.py:93 in from_to_helper
raise Exception('Could not parse your date'); the code works fine without from and to, but It can't parse the date
The text was updated successfully, but these errors were encountered:
AttributeError: 'zoneinfo.ZoneInfo' object has no attribute 'localize'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File ~\Documents\python class\pygooglenews.py:16 in
s = gn.search( query="NVIDIA" , from_ = '2024-04-01', to_ = '2024-04-02' )
File ~\anaconda3\lib\site-packages\pygooglenews_init_.py:141 in search
from_ = self._from_to_helper(validate=from)
File ~\anaconda3\lib\site-packages\pygooglenews_init_.py:93 in from_to_helper
raise Exception('Could not parse your date'); the code works fine without from and to, but It can't parse the date
The text was updated successfully, but these errors were encountered: