X-Git-Url: https://git.xandkar.net/?a=blobdiff_plain;f=home%2Fbin%2Ftime-in-zones;h=bfb265fb9120d784a64076f92a3ff4f317dfc3f8;hb=1cbcd78facb72fef9eb038ffe9237d427875791d;hp=6428f8d814ab435da2bebfaff0cb0987b8f6c383;hpb=d1ea24987962658ef6442d5be47558dfa95beac5;p=khome.git diff --git a/home/bin/time-in-zones b/home/bin/time-in-zones index 6428f8d..bfb265f 100755 --- a/home/bin/time-in-zones +++ b/home/bin/time-in-zones @@ -2,9 +2,18 @@ set -e -ZONES='US/Eastern Europe/Rome Poland NZ' +declare -a ZONES=( + UTC + US/Pacific + US/Mountain + US/Eastern + Europe/Warsaw + Europe/Samara + Asia/Manila + NZ +) -for tz in $ZONES +for tz in ${ZONES[*]} do printf '%s ' "$tz" TZ="$tz" date '+%a %b %d %H:%M:%S'