summaryrefslogtreecommitdiff
path: root/bin/extra/timezone
diff options
context:
space:
mode:
authorRaymaekers Luca <raymaekers.luca@gmail.com>2024-02-14 02:23:53 +0100
committerRaymaekers Luca <raymaekers.luca@gmail.com>2024-02-14 02:23:53 +0100
commitf5526c4cfbe0803212050dc53a487e5c3b38bd4b (patch)
tree2ba0b97fbd1a6ac4f3ae4b529da0d21570a3f4b8 /bin/extra/timezone
parent991fc41022fbdf7da399eb8ea53b3c67d0239d47 (diff)
Update scripts
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{}'