diff options
author | Luke Bratch <luke@bratch.co.uk> | 2015-06-25 15:23:46 +0100 |
---|---|---|
committer | Luke Bratch <luke@bratch.co.uk> | 2015-06-25 15:23:46 +0100 |
commit | d30d120e7c186d89cfef3baecf42f1e9b36a2224 (patch) | |
tree | 152047bf3507743bb29e216563820c3bbeee5b41 |
-rwxr-xr-x | date.bash | 9 |
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 |