summary refs log tree commit diff
diff options
context:
space:
mode:
authoræstrid silico2025-02-27 02:36:57 +1300
committeræstrid silico2025-02-27 02:36:57 +1300
commit94ebe83a09e908f2e85ef7b5357697a4d9919e69 (patch)
tree18e8d4bddf617e4d96403d93810b4edd09063d95
parent340b78eb3ef9d0fd38ac0cf6c6deb80768fd9842 (diff)
fix some sort of bug HEAD master
-rwxr-xr-xworldclock2
1 files changed, 1 insertions, 1 deletions
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