summaryrefslogtreecommitdiff
path: root/bin/extra/timezone
diff options
context:
space:
mode:
Diffstat (limited to 'bin/extra/timezone')
-rwxr-xr-xbin/extra/timezone3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/extra/timezone b/bin/extra/timezone
new file mode 100755
index 0000000..6f93aad
--- /dev/null
+++ b/bin/extra/timezone
@@ -0,0 +1,3 @@
+#!/bin/sh
+curl -s "https://www.timeanddate.com/time/zone/$1" |
+ pup -p '.tb-tz > tbody:nth-child(2) > tr:nth-child(1) > th:nth-child(1) text{}'