ariebovenberg / whenever

⏰ Modern datetime library for Python
https://whenever.rtfd.io
MIT License
898 stars 15 forks source link

Use `chrono-tz` for faster timezone switching #145

Open ariebovenberg opened 4 months ago

ariebovenberg commented 4 months ago

Using chrono-tz for switching between timezones will probably lead to a big speedup (expect x3 faster). However, it's currently not possible to implement the disambiguation logic in chrono when it comes to gaps.

In release 0.5, there will likely be a new API that will allow better handling of gaps.