X-Git-Url: https://git.xandkar.net/?a=blobdiff_plain;f=home%2Fbin%2Ftime-in-zones;h=f525a1d3a4d4128ea48f48220aea777742d42a23;hb=101c2c385239d4de389357403085627e06fa7850;hp=aa7840717304bf8453d6e65a2d453bb4e5fbe2c6;hpb=3c478e37ea2443f97f611ef10ab265ce4c7bda9f;p=khome.git diff --git a/home/bin/time-in-zones b/home/bin/time-in-zones index aa78407..f525a1d 100755 --- a/home/bin/time-in-zones +++ b/home/bin/time-in-zones @@ -2,14 +2,17 @@ set -e -ZONES=' +declare -a ZONES=( + UTC + US/Pacific US/Eastern - Europe/Rome - Poland + 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'