diff --git a/Dockerfile b/Dockerfile index ea1470a..16337ba 100644 --- a/Dockerfile +++ b/Dockerfile @@ -114,6 +114,6 @@ COPY . . # # Set build # -RUN echo -n `date '+%Y.%m.%d.%H.%M'` > /etc/unifi_voucher_site_build +RUN echo -n `date '+%d/%m/%Y, %H:%M'` > /etc/unifi_voucher_site_build ARG GIT_TAG ENV GIT_TAG=$GIT_TAG diff --git a/modules/info.js b/modules/info.js index 586410f..f5d1fee 100644 --- a/modules/info.js +++ b/modules/info.js @@ -38,7 +38,7 @@ module.exports = () => { /** * Output build version */ - log.info(`[Version] Git: ${variables.gitTag}, Build: ${variables.gitBuild}`); + log.info(`[Version] Git: ${variables.gitTag} - Build: ${variables.gitBuild}`); /** * Log external config