summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Bratch <luke@bratch.co.uk>2015-06-25 15:23:46 +0100
committerLuke Bratch <luke@bratch.co.uk>2015-06-25 15:23:46 +0100
commitd30d120e7c186d89cfef3baecf42f1e9b36a2224 (patch)
tree152047bf3507743bb29e216563820c3bbeee5b41
Initial commitHEADmaster
-rwxr-xr-xdate.bash9
1 files changed, 9 insertions, 0 deletions
diff --git a/date.bash b/date.bash
new file mode 100755
index 0000000..21a0e64
--- /dev/null
+++ b/date.bash
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+read strTZ
+
+if [ -n "$strTZ" ]; then
+ TZ="$strTZ" date
+else
+ date
+fi