[tz] [PROPOSED 06/18] Don’t set TZ in tzselect
Philip Paeps
philip at trouble.is
Wed Dec 20 07:30:25 UTC 2023
On 2023-12-19 15:25:55 (+0800), Paul Eggert via tz wrote:
> * tzselect.ksh (tz): Rename this shell variable from TZ, so that
> invoked commands don’t change behavior merely because tzselect is
> speculating about what TZ setting the user wants. This is a
> safety measure for oddball platforms where this might make a
> difference, as POSIX allows utilities to crash if TZ is bogus.
Do such oddball platforms exist in the wild?
To a casual reader, seeing $tz instead of $TZ may be confusing.
Should we use $tz_for_date instead of $TZ_for_date for consistency?
No objection to this. But it feels like refactoring for the sake of
refactoring.
Philip
--
Philip Paeps
Senior Reality Engineer
Alternative Enterprises
More information about the tz
mailing list