For the `date` command, the three-letter string of `TZ` is not that important. It is the signed number that controls the time zone.Yeah, I spotted the tmpstr issue but missed the typo for UTC. Like I said, I don't understand their thinking for this. Maybe they simply forgot to assign UTC-9 to tmpstr.
EDIT: It looks like technically UCT is a valid synonym UTC.
Code:
# TZ="ABC-9" date
Sat Jun 11 11:04:47 ABC 2022
# TZ="XYZ-9" date
Sat Jun 11 11:05:08 XYZ 2022