sdispater / pendulum

Python datetimes made easy
https://pendulum.eustace.io
MIT License
6.12k stars 372 forks source link

Fix dt warnings with timezones #831

Open natikgadzhi opened 1 month ago

natikgadzhi commented 1 month ago

Summary

I was about to fix another thing for myself, opened the issues list, noticed #830, and thought I'd fix it as a warm-up issue. Okay to close if this is not a good solution!

What

This PR fixes several runtime warnings about using utcfromtimestamp mentioned in the issue, and that I've seen when I ran poetry run pytest tests.

Did not check the boxes, not really applicable:

natikgadzhi commented 1 month ago

Oh, this is actually a duplicate of #803.

codspeed-hq[bot] commented 3 weeks ago

CodSpeed Performance Report

Merging #831 will not alter performance

Comparing natikgadzhi:bugfix/warning-timezones (77ec3ae) with master (3e3fec6)

Summary

✅ 1 untouched benchmarks