Join Nostr
2024-11-13 02:08:01 UTC

Trey Hunner 🐍 on Nostr: I added support for many more formats to and released a command-line version. $ pipx ...

I added support for many more formats to https://pym.dev/strptime and released a command-line version.

$ pipx install strptime-cli
$ strptime "Tue, 12 Nov 2024 09:50:24"
%a, %d %b %Y %H:%M:%S

The next time you run across a date/time string you need to parse in #Python, try it out!