David> Absolutely, it isn't necessary on some unix variants (eg NetBSD) David> and it can't actually hold the reqiured information. Setting it David> will override the default value for the user.
David,
did you look at the patch or the changelog? :-( My proposed patch only sets TZ to a default value when TZ is _not_ set
From my system:
$ date Thu Apr 17 09:33:50 BST 2003 $ echo $TZ
$ TZ=GMT0 date Thu Apr 17 08:34:02 GMT 2003 $ TZ=xyz-167 date Thu Apr 24 07:39:40 xyz 2003 $
If TZ is set, then its value is used. If it isn't set then the timezone information comes from elsewhere - probably the LOCALE.
David