fix . not in printf
This commit is contained in:
@@ -39,7 +39,7 @@ function currency_converter {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# get current date if none given
|
# 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
|
# rate per minute
|
||||||
f_currency_date_minute=$(date -d "${f_currency_date}" "+%Y-%m-%d.%H:%M")
|
f_currency_date_minute=$(date -d "${f_currency_date}" "+%Y-%m-%d.%H:%M")
|
||||||
|
|||||||
Reference in New Issue
Block a user