Ed Avis <address@hidden> writes:
> On a system where local time is +0100:
>
> % (unset TZ; date +%z)
> +0100
> % (TZ= date +%z)
> +0000
>
> Are you sure this is correct?
This is a C library issue, not a coreutils issue, since coreutils
simply repeats what the C library tells it.
In many C libraries, TZ='' is equivalent to TZ='GMT0' or TZ='UTC0',
and that's the behavior you're observing. An unset TZ is equivalent
to a system-supplied default, typically the local time where the host
is physically located.