From 94ebe83a09e908f2e85ef7b5357697a4d9919e69 Mon Sep 17 00:00:00 2001 From: æstrid silico Date: Thu, 27 Feb 2025 02:36:57 +1300 Subject: fix some sort of bug --- worldclock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/worldclock b/worldclock index 8c01a3f..f43510d 100755 --- a/worldclock +++ b/worldclock @@ -11,7 +11,7 @@ do for TZ in $ZONES ; do if [ $TZ = "unix" ] then TIME=$( date +%s ) - else TIME=$( date ) + else TIME=$( TZ="$TZ" date ) fi echo -e $TIME "\t" $TZ done -- cgit 1.4.1-2-gfad0