From 50e5c01f573254410839dd86ca8407998b565983 Mon Sep 17 00:00:00 2001 From: Thomas Phillips Date: Fri, 2 Jun 2017 16:51:54 +1200 Subject: [PATCH] Image build date now honours timezone --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"