image_builder: change date output

This commit is contained in:
Artem Smirnov
2018-09-25 22:03:10 +03:00
parent 61544c2099
commit eec5b9c9b2
7 changed files with 35 additions and 15 deletions

View File

@@ -18,7 +18,7 @@ echo_stamp() {
# More info there https://www.shellhacks.com/ru/bash-colors/
TEXT="$(date) | $1"
TEXT="$(date '+[%Y-%m-%d %H:%M:%S]') $1"
TEXT="\e[1m${TEXT}\e[0m" # BOLD
case "$2" in