On 2024-02-08 03:50, Bruno Haible wrote:
This patch provides a workaround, and thus removes the test-nstrftime-2.sh
failure at test-nstrftime.h:421.

I was thinking of something a bit more general: temporarily set the time zone before calling the underlying strftime, and reset it afterwards. This of course won't work in a multithreaded system without some locking, but we can either add the locking or not bother.

time_rz.c already does this sort of thing, and I suppose it could export its secrets to nstrftime.c.

Reply via email to