From f2cfc13452db8e4c6589782fe9e72517d34e8ab1 Mon Sep 17 00:00:00 2001 From: vulonkaaz <7442677+vulonkaaz@users.noreply.github.com> Date: Fri, 13 Dec 2024 04:12:16 +0100 Subject: international clock script --- intclock.sh | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 intclock.sh (limited to 'intclock.sh') diff --git a/intclock.sh b/intclock.sh new file mode 100755 index 0000000..76492ca --- /dev/null +++ b/intclock.sh @@ -0,0 +1,17 @@ +#!/bin/sh + +printf "🌐 UTC : " +date -u +%R + +printf "🌎 EST : " +TZ='America/New_York' date +%R + +printf "🌏 JST : " +TZ='Asia/Tokyo' date +%R +printf "\n" + +cal + +read # this line is only so that the script stays on until user input, + # my usage is to spawn it using `st intclock.sh` I had to find a way + # for the st window to stay on, delete it if you don't need it -- cgit v1.2.3