From d30d120e7c186d89cfef3baecf42f1e9b36a2224 Mon Sep 17 00:00:00 2001 From: Luke Bratch Date: Thu, 25 Jun 2015 15:23:46 +0100 Subject: Initial commit --- date.bash | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 date.bash (limited to 'date.bash') 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 -- cgit v1.2.3