WolfgangFahl / py-3rdparty-mediawiki

Wrapper for pywikibot and mwclient MediaWiki API librarties with improvements for 3rd party wikis
Apache License 2.0
4 stars 5 forks source link

datetime.datetime.utcfromtimestamp() is deprecated #102

Closed WolfgangFahl closed 3 months ago

WolfgangFahl commented 3 months ago

wikibot3rd/smw.py:76: DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.fromtimestamp(timestamp, datetime.UTC). value = datetime.utcfromtimestamp(ts)