X-Git-Url: https://git.xandkar.net/?a=blobdiff_plain;f=home%2Fbin%2Ftime-in-zones;h=17ecac903cc0125cd96ca7b05f1319e2b4448bd0;hb=78936bf3d7a1e99199c44e05c960bacf7531115f;hp=aa7840717304bf8453d6e65a2d453bb4e5fbe2c6;hpb=3c478e37ea2443f97f611ef10ab265ce4c7bda9f;p=khome.git diff --git a/home/bin/time-in-zones b/home/bin/time-in-zones index aa78407..17ecac9 100755 --- a/home/bin/time-in-zones +++ b/home/bin/time-in-zones @@ -2,14 +2,16 @@ set -e -ZONES=' +declare -a ZONES=( + 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'