JAA 1738553862 learn printf's %(…)T specifier respects TZ for the time zone, but even though printf is a builtin, TZ must be an environment variable. The output of `TZ=Pacific/Kiritimati; printf '%(%H:%M:%S)T'` will vary based on whether TZ is already exported. Use `TZ=… printf …` or `export TZ=…` instead.