Browse files

Less dumb way to do the multi-zone date thing.

  • Loading branch information...
1 parent fd361cc commit 440e54375a4838a5cb9bb4bec099b8a1af065aa1 @dustin committed May 8, 2008
Showing with 3 additions and 7 deletions.
  1. +3 −7 spydate
View
10 spydate
@@ -1,12 +1,8 @@
#!/bin/sh
-TZ=US/Pacific
-export TZ
-PT=`date`
-TZ=US/Central
-CT=`date`
-TZ=Australia/Melbourne
-AT=`date`
+PT=`env TZ=US/Pacific date`
+CT=`env TZ=US/Central date`
+AT=`env TZ=Australia/Melbourne date`
echo "Santa Clara $PT"
echo "Central $CT"

0 comments on commit 440e543

Please sign in to comment.