From bf0bb1e77ecb10e04749ee1b4fe98baacb0acac3 Mon Sep 17 00:00:00 2001 From: olli Date: Sat, 2 Nov 2024 17:16:19 +0100 Subject: [PATCH] fix . not in printf --- dabo/functions/currency_converter.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dabo/functions/currency_converter.sh b/dabo/functions/currency_converter.sh index b5fdfce..22be8ac 100644 --- a/dabo/functions/currency_converter.sh +++ b/dabo/functions/currency_converter.sh @@ -39,7 +39,7 @@ function currency_converter { fi # get current date if none given - [ -z "$f_currency_date" ] && printf -v f_currency_date '%(%Y-%m-%d.%H:%M:%S)T' + [ -z "$f_currency_date" ] && printf -v f_currency_date '%(%Y-%m-%d %H:%M:%S)T' # rate per minute f_currency_date_minute=$(date -d "${f_currency_date}" "+%Y-%m-%d.%H:%M")