summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xweb-ui/config/add_git_version.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/web-ui/config/add_git_version.sh b/web-ui/config/add_git_version.sh
index c988e114..a0abefc0 100755
--- a/web-ui/config/add_git_version.sh
+++ b/web-ui/config/add_git_version.sh
@@ -3,7 +3,7 @@
TEMPLATE_FILE="app/js/generated/hbs/templates.js"
COMMITISH=$(git rev-parse --short HEAD)
-COMMITDATE=$(git show -s --format=%ci)
+COMMITDATE=$(git show -s --format=%cd)
perl -pi -e "s/UNKNOWN_VERSION/$COMMITISH/" $TEMPLATE_FILE
perl -pi -e "s/COMMIT_DATE/$COMMITDATE/" $TEMPLATE_FILE