Trey Hunner 🐍 on Nostr: I've been wishing I had a tool that could take an arbitrary date/datetime string and ...
Published at
2024-08-05 18:20:20Event JSON
{
"id": "13765148754dbd25b5a219b48b06d38d73badcf50c940698560eaeb5a3a5142d",
"pubkey": "7e9159fbfd5526415c8d2de2e4c7654e3660883f9ccae720a70fa3c1f3cf1f45",
"created_at": 1722882020,
"kind": 1,
"tags": [
[
"proxy",
"https://mastodon.social/@treyhunner/112910796093667517",
"web"
],
[
"t",
"python"
],
[
"proxy",
"https://mastodon.social/users/treyhunner/statuses/112910796093667517",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://mastodon.social/users/treyhunner/statuses/112910796093667517",
"pink.momostr"
],
[
"-"
]
],
"content": "I've been wishing I had a tool that could take an arbitrary date/datetime string and spit out the strptime/strftime format string needed to parse it.\n\nLast week I decided to make such a tool and added a couple additional features that I hadn't realized I wanted until I was making it.\n\nThe tool to bookmark is at https://pym.dev/strptime 🔖\n\nDetails on how it works here 👇\nhttps://treyhunner.com/2024/08/find-the-datetime-format-code-for-your-date/\n\n#Python",
"sig": "00f5aacf715811488a8b8c534931df2ab6ca95d492e0f5240441558bfff993c7f8569b7b0f22350f3b027064e3366fd6beb0b21345add3d6d6da0e41922fa897"
}