scrapinghub / dateparser

python parser for human readable dates
BSD 3-Clause "New" or "Revised" License
2.57k stars 465 forks source link

Replace datetime.utcnow #1179

Closed cdce8p closed 1 year ago

cdce8p commented 1 year ago

Starting with Python 3.12 datetime.utcnow will be deprecated. https://docs.python.org/3.12/library/datetime.html#datetime.datetime.utcnow

Gallaecio commented 1 year ago

Could you run pre-commit on your changes?

pre-commit run --all
Gallaecio commented 1 year ago

Thanks!

wimglenn commented 1 year ago

@Gallaecio Can you get this change released on PyPI, please?

zerocewl commented 1 year ago

+1 a new release would be nice to work with python3.12

Gallaecio commented 1 year ago

1.2.0 is out now :slightly_smiling_face: