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