On 2026-07-20 19:57, Paul Gilmartin via tz wrote:
On 7/20/26 16:20, Steffen Nurpmeso wrote:
Paul Eggert via tz wrote in
       ...
  |tzcode provides a way: ... tzalloc("ABC")

This appears to be a thread-safe replacement
for localtime().

That's the goal.

o localtime() should have a time_t argument.  I see
  no such for tzalloc(). o strftime() needs a struct tm argument. Does tzalloc() generate one?

No, tzalloc generates a timezone_t, which is fed to localtime_rz and to strftime_z (in the tzcode version). This is in the man pages, I think.

Reply via email to