X-Git-Url: https://git.xandkar.net/?a=blobdiff_plain;f=home%2Fbin%2Ftime-in-zones;h=f525a1d3a4d4128ea48f48220aea777742d42a23;hb=c3eac31c566badd10e5c8bf8e9aeee1208b3de08;hp=6428f8d814ab435da2bebfaff0cb0987b8f6c383;hpb=d1ea24987962658ef6442d5be47558dfa95beac5;p=khome.git diff --git a/home/bin/time-in-zones b/home/bin/time-in-zones index 6428f8d..f525a1d 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=( + UTC + US/Pacific + 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'