πŸπŸ—“οΈ6️⃣ The dateutil library is a popular and powerful Python library for dealing with dates and times.

However, it still supports Python 2.7 by depending on the six compatibility shim, and I’d prefer not to install it for Python 3.10+.

Here’s how I replaced three uses of its relativedelta in a couple of CLIs that didn’t really need to use it.

hugovk.dev/blog/2025/minus-six/

0

If you have a fediverse account, you can quote this note from your own instance. Search https://mastodon.social/users/hugovk/statuses/115804713263558471 on your instance and quote it. (Note that quoting is not supported in Mastodon.)