GripNews<p>🌕 GitHub - ariebovenberg/whenever:Python 的現代日期時間函式庫<br>➤ 告別 Python 日期時間的陷阱!<br>✤ <a href="https://github.com/ariebovenberg/whenever" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/ariebovenberg/whene</span><span class="invisible">ver</span></a><br>ariebovenberg/whenever 是一個現代化的 Python 日期時間函式庫,旨在解決 Python 標準 `datetime` 庫在時區處理(特別是日光節約時間 DST)和類型安全方面存在的不足。它提供類型安全、DST 安全的算術運算,並在性能上優於標準庫和其他第三方函式庫,如 Arrow 和 Pendulum。同時,它也提供純 Python 版本,方便在性能要求不高的場景中使用。目前正朝向 1.0 版本穩定釋出。<br>+ 終於有了一個能安全處理時區和 DST 的 Python 日期時間庫了!之前用標準庫總是擔心出錯。<br>+ 這個庫的效能表現令人印象深刻,而且提供了純 Python 版本,真是太方便了!我很期待它的 1.0 版本正式推出。<br><a href="https://mastodon.social/tags/%E9%96%8B%E6%BA%90%E8%BB%9F%E9%AB%94" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>開源軟體</span></a> <a href="https://mastodon.social/tags/Python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Python</span></a> <a href="https://mastodon.social/tags/%E6%97%A5%E6%9C%9F%E6%99%82%E9%96%93" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>日期時間</span></a> <a href="https://mastodon.social/tags/%E5%87%BD%E5%BC%8F%E5%BA%AB" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>函式庫</span></a></p>