fix for error in stripping ,/. from EPOCHREALTIME

pull/19/head
aristocratos 2020-04-06 05:58:35 +02:00
parent 988efeafcd
commit c3a82f7c0d
1 changed files with 1 additions and 1 deletions

View File

@ -155,7 +155,7 @@ box[double_title_right]="╢"
if [[ -n $EPOCHREALTIME ]]; then
get_ms() { #? Set given variable to current epoch millisecond with EPOCHREALTIME varialble
local -n ms_out=$1
ms_out=$((${EPOCHREALTIME/,/}/1000))
ms_out=$((${EPOCHREALTIME/[.,]/}/1000))
}
#* If not, use date command