From 9b58b391c65d79535ef0f45ea74a7cb5730100d8 Mon Sep 17 00:00:00 2001 From: "4 raccoons in a trenchcoat. / luna vivian" Date: Fri, 21 Apr 2023 12:56:02 +0200 Subject: [PATCH] fixes issue where the video's duration would add/subtract difference to/from UTC --- webroot/search.shs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webroot/search.shs b/webroot/search.shs index 4cea146..1478821 100755 --- a/webroot/search.shs +++ b/webroot/search.shs @@ -36,7 +36,7 @@ if [[ "${get_data[search_query]}" ]]; then for (( i=0; i<${#id[@]}; i++ )); do strings[id]="${id[$i]}" strings[title]="${title[$i]}" - strings[runtime]="$(date -d "@${runtime[$i]}" "+%H:%M:%S")" + strings[runtime]="$(date -d "@${runtime[$i]}" "+%H:%M:%S -u")" strings[views]="${views[$i]}" strings[channel_id]="${channel_id[$i]}" strings[channel]="${channel[$i]}"