home
/
code
/
khome.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add time-in-zones script and notification key bindings
[khome.git]
/
home
/
bin
/
time-in-zones
diff --git a/home/bin/time-in-zones
b/home/bin/time-in-zones
new file mode 100755
(executable)
index 0000000..
6428f8d
--- /dev/null
+++ b/
home/bin/time-in-zones
@@ -0,0
+1,12
@@
+#! /bin/bash
+
+set -e
+
+ZONES='US/Eastern Europe/Rome Poland NZ'
+
+for tz in $ZONES
+do
+ printf '%s ' "$tz"
+ TZ="$tz" date '+%a %b %d %H:%M:%S'
+done \
+| column -t
This page took
0.028001 seconds
and
4
git commands to generate.