Home | History | Annotate | Download | only in tzcode

Lines Matching refs:TZ

5 # Ask the user about the time zone, and output the resulting TZ value to stdout.
96 'none - I want to specify the time zone using the Posix TZ format.'
113 # Ask the user for a Posix TZ string. Check that it conforms.
116 'of the TZ environment variable.'
119 read TZ
120 $AWK -v TZ="$TZ" 'BEGIN {
128 if (TZ ~ tzpattern) exit 1
132 echo >&2 "\`$TZ' is not a conforming" \
135 TZ_for_date=$TZ;;
218 # Determine TZ from country and region.
219 TZ=$($AWK -F'\t' \
237 TZ_for_date=$TZDIR/$TZ
245 # Use the proposed TZ to output the current date relative to UTC.
252 TZdate=$(LANG=C TZ="$TZ_for_date" date)
253 UTdate=$(LANG=C TZ=UTC0 date)
266 # Output TZ info and ask the user to confirm.
274 +) echo >&2 " TZ='$TZ'"
277 echo >&2 "Therefore TZ='$TZ' will be used.$extra_info"
296 *csh) file=.login line="setenv TZ '$TZ'";;
297 *) file=.profile line="TZ='$TZ'; export TZ"
305 Here is that TZ value again, this time on standard output so that you
308 echo "$TZ"