What is Nostr?
Marcus Müller /
npub1p3y…h309
2025-01-17 19:17:11
in reply to nevent1q…ct7z

Marcus Müller on Nostr: nprofile1q…6eyyt it's pretty awesome to document something as "in most cases, we ...

nprofile1qy2hwumn8ghj7un9d3shjtnddaehgu3wwp6kyqpqhxf96n4sv94q46mrk29xquqwewwecl2083f9r5wdlnl5erc5nf7qf6eyyt (nprofile…eyyt) it's pretty awesome to document something as "in most cases, we parse, but don't actually use the following fields", without specifying in which cases that'd be the case.

So, only way I could see that: parse as you're doing, minus the ` %Z`, then use its retval with `sscanf` to get the time zone string, then use that copy that to the `TZ` environment variable, then call `tzset()`, then get the seconds west of UTC from `long timezone`, then set fire to everything&move to woods.
Author Public Key
npub1p3y6c327k0x5dhy9f5qcpvhsusga2vcd3540q3gycux8kkva687q8jh309