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 | 10 | Europe/Warsaw |
5fa0aef6 SK |
11 | Europe/Kyiv |
12 | Europe/Moscow | |
c2d03014 SK |
13 | Europe/Samara |
14 | Asia/Manila | |
3c478e37 | 15 | NZ |
521807a5 | 16 | ) |
d1ea2498 | 17 | |
521807a5 | 18 | for tz in ${ZONES[*]} |
d1ea2498 SK |
19 | do |
20 | printf '%s ' "$tz" | |
21 | TZ="$tz" date '+%a %b %d %H:%M:%S' | |
22 | done \ | |
23 | | column -t |