dateparser icon indicating copy to clipboard operation
dateparser copied to clipboard

[WIP] Fix PytzUsageWarning

Open serhii73 opened this issue 3 years ago • 1 comments

Close #1089

>>> from datetime import datetime
>>> dateparser.parse(
...     "in 3 hours",
...     settings={
...         "TO_TIMEZONE": "UTC",
...         "RELATIVE_BASE": datetime.now(),
...     },
... )
datetime.datetime(2022, 12, 7, 14, 43, 47, 345343)

serhii73 avatar Dec 07 '22 11:12 serhii73

https://github.com/scrapinghub/dateparser/pull/1062 - Perhaps this would be helpful to fix this issue.

serhii73 avatar Dec 07 '22 11:12 serhii73