Commit | Line | Data |
---|---|---|
d1ea2498 SK |
1 | #! /bin/bash |
2 | ||
3 | set -e | |
4 | ||
521807a5 | 5 | declare -a ZONES=( |
113f0623 | 6 | UTC |
feb8402f | 7 | US/Pacific |
8f0d1506 | 8 | US/Mountain |
3c478e37 | 9 | US/Eastern |
c2d03014 SK |
10 | Europe/Warsaw |
11 | Europe/Samara | |
12 | Asia/Manila | |
3c478e37 | 13 | NZ |
521807a5 | 14 | ) |
d1ea2498 | 15 | |
521807a5 | 16 | for tz in ${ZONES[*]} |
d1ea2498 SK |
17 | do |
18 | printf '%s ' "$tz" | |
19 | TZ="$tz" date '+%a %b %d %H:%M:%S' | |
20 | done \ | |
21 | | column -t |