From 9c75014f949032a91eb22605e4d9565f5efa5b6f Mon Sep 17 00:00:00 2001 From: Stephan Geisler Date: Mon, 30 Sep 2019 11:27:12 +0000 Subject: [PATCH] =?UTF-8?q?=E2=80=9EBuild/synOTR.sh=E2=80=9C=20=C3=A4ndern?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Build/synOTR.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Build/synOTR.sh b/Build/synOTR.sh index 3c56294..fec75c6 100644 --- a/Build/synOTR.sh +++ b/Build/synOTR.sh @@ -286,7 +286,14 @@ ################################################################################################# -sec_to_time() { + +sec_to_time() +{ +######################################################################################### +# diese Funktion wandelt einen Sekundenwert nach hh:mm # +# Aufruf: sec_to_time "string" # +# https://blog.jkip.de/in-bash-sekunden-umrechnen-in-stunden-minuten-und-sekunden/ # +######################################################################################### local seconds=$1 local sign="" if [[ ${seconds:0:1} == "-" ]]; then