summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Phillips <thomas@teknique.com>2017-06-02 16:51:54 +1200
committerXECDesign <XECDesign@users.noreply.github.com>2017-06-27 13:06:50 +0100
commit50e5c01f573254410839dd86ca8407998b565983 (patch)
treef1439898fb036e2d28aa8d0dc87ad52e744fd226
parenta0060bd475994d0466b2e24ea00003a38a8a0288 (diff)
Image build date now honours timezone
-rwxr-xr-xbuild.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.sh b/build.sh
index 25a8539..06d9abc 100755
--- a/build.sh
+++ b/build.sh
@@ -128,7 +128,7 @@ if [ -z "${IMG_NAME}" ]; then
exit 1
fi
-export IMG_DATE=${IMG_DATE:-"$(date -u +%Y-%m-%d)"}
+export IMG_DATE=${IMG_DATE:-"$(date +%Y-%m-%d)"}
export BASE_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
export SCRIPT_DIR="${BASE_DIR}/scripts"