Lines Matching refs:TZ
10 # Ask the user about the time zone, and output the resulting TZ value to stdout.
58 TZ format."
60 INFO_ENTER_POSIX="Please enter the desired value of the TZ environment \
70 INFO_TZ="Therefore TZ='%s' will be used."
75 INFO_FINE="Here is the TZ value again, this time on standard output:"
167 # Ask the user for a POSIX TZ string. Check that it conforms.
172 read TZ
173 env LC_ALL=C $AWK -v TZ="$TZ" 'BEGIN {
181 if (TZ ~ tzpattern) exit 1
185 $PRINTF >&2 "`$GETTEXT "$ERR_INV_POSIX"`\n" $TZ
188 TZ_for_date=$TZ;;
332 # Determine TZ from country and region.
333 TZ=$($AWK -F'\t' \
360 TZ_for_date=$TZDIR/$TZ
365 # Absolute path TZ's not supported
366 TZ_for_date=$TZ
370 # Use the proposed TZ to output the current date relative to UTC.
378 TZdate=$(LANG=C TZ="$TZ_for_date" $DATE)
379 UTdate=$(LANG=C TZ=UTC0 $DATE)
393 # Output TZ info and ask the user to confirm.
402 +) $PRINTF >&2 " TZ='$TZ'\n"
405 $PRINTF >&2 "`$GETTEXT "$INFO_TZ"`\n" "$TZ"
432 $PRINTF "%s\n" "$TZ"