+ thousands separators for numbers (on search page)

merge-requests/6/head
Dominika Liberda 2021-06-03 19:51:56 +00:00
parent 6f43964283
commit 4761a3f747
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ if [[ "${get_data[search_query]}" ]]; then
id=($(jq -r '.id' <<< "$data"))
title=($(jq -r '.title' <<< "$data"))
runtime=($(jq -r '.duration' <<< "$data"))
views=($(jq -r '.view_count' <<< "$data"))
views=($(jq -r '.view_count' <<< "$data" | xargs printf "%'d\n"))
channel=($(jq -r '.channel' <<< "$data"))
channel_id=($(jq -r '.channel_id' <<< "$data"))