fix . not in printf
This commit is contained in:
parent
98d185067b
commit
bf0bb1e77e
@ -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")
|
||||||
|
Loading…
Reference in New Issue
Block a user