„Build/synOTR.sh“ ändern

This commit is contained in:
Stephan 2019-09-30 11:27:12 +00:00
parent 9a91437033
commit 9c75014f94

View file

@ -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