varx/tech on Nostr: nprofile1q…rk39d I see... *local* time means checking the env, and the env is a ...
nprofile1qy2hwumn8ghj7un9d3shjtnddaehgu3wwp6kyqpq8369m6ejyjfh47ths7qrlvqcu8jvyzxnuysx72cpvg95jfvt9l0sgrk39d (nprofile…k39d) I see... *local* time means checking the env, and the env is a global mutable thing.
So I guess you need to check the locale at startup, cache that somewhere, and use that explicitly whenever you need to get the time...
So I guess you need to check the locale at startup, cache that somewhere, and use that explicitly whenever you need to get the time...