bert hubert πΊπ¦πͺπΊ on Nostr: Does anyone know how to best parse "Fri, 17 Jan 2025 06:07:07 GMT" using POSIX ...
Does anyone know how to best parse "Fri, 17 Jan 2025 06:07:07 GMT" using POSIX functions to get the right UNIX epoch timestamp? I've only found very ugly solutions so far. Please do read man strptime(3) carefully before responding with ideas that you think might work (%z does not).
Published at
2025-01-17 17:12:18Event JSON
{
"id": "808f5870620014f39d7fea0837763095bbb553aeec5f3e32b5b922605432b8be",
"pubkey": "b2a729af72f53eaf7a64944a3b4fcc1a5c4e4476852b80513bf405183c484187",
"created_at": 1737133938,
"kind": 1,
"tags": [
[
"proxy",
"https://fosstodon.org/users/bert_hubert/statuses/113844809781605325",
"activitypub"
]
],
"content": "Does anyone know how to best parse \"Fri, 17 Jan 2025 06:07:07 GMT\" using POSIX functions to get the right UNIX epoch timestamp? I've only found very ugly solutions so far. Please do read man strptime(3) carefully before responding with ideas that you think might work (%z does not).",
"sig": "f1d856fb3648ac284b470afb62290cbef12dbc1fcc4735f5dcdc1eca320b42ffe65be0e8fe7f26c35f739aff9e0e15ac0a9339f12a0ee3319de72a0fb1292ff5"
}