Home
last modified time | relevance | path

Searched refs:tz (Results 1 – 7 of 7) sorted by relevance

/coreutils/src/
Ddate.c339 timezone_t tz, char const *tzstring) in batch_convert() argument
374 parse_datetime_flags, tz, tzstring)) in batch_convert()
383 ok &= show_date (format, when, tz); in batch_convert()
577 timezone_t tz = tzalloc (tzstring); in main() local
580 ok = batch_convert (batch_file, format_res, tz, tzstring); in main()
627 tz, tzstring); in main()
645 ok &= show_date (format_res, when, tz); in main()
655 show_date (char const *format, struct timespec when, timezone_t tz) in show_date() argument
662 if (localtime_rz (tz, &when.tv_sec, &tm)) in show_date()
666 fprintftime (stdout, format, &tm, tz, when.tv_nsec); in show_date()
Ddu.c378 show_date (char const *format, struct timespec when, timezone_t tz) in show_date() argument
381 if (localtime_rz (tz, &when.tv_sec, &tm)) in show_date()
382 fprintftime (stdout, format, &tm, tz, when.tv_nsec); in show_date()
Dstat.c653 static timezone_t tz; in human_time() local
654 if (!tz) in human_time()
655 tz = tzalloc (getenv ("TZ")); in human_time()
658 if (localtime_rz (tz, &t.tv_sec, &tm)) in human_time()
659 nstrftime (str, sizeof str, "%Y-%m-%d %H:%M:%S.%N %z", &tm, tz, ns); in human_time()
Ddircolors.hin132 .tz 01;31
Dls.c4187 timezone_t tz, int ns) in align_nstrftime() argument
4192 return nstrftime (buf, size, nfmt, tm, tz, ns); in align_nstrftime()
/coreutils/tests/misc/
Dtime-style.sh29 for tz in UTC0 PST8 PST8PDT,M3.2.0,M11.1.0 XXXYYY-12:30; do
33 TZ=$tz LC_ALL=C du --time --time-style="$style" a >>duout 2>>err || fail=1
34 TZ=$tz LC_ALL=C ls -no --time-style="$style" a >>lsout 2>>err || fail=1
36 (+*) TZ=$tz LC_ALL=C pr -D"$style" a >>prout 2>>err || fail=1 ;;
/coreutils/tests/
Dlocal.mk309 tests/date/date-tz.sh \