2024-12-29 23:01 : id 51

This commit is contained in:
deadvey 2024-12-29 23:01:38 +00:00
parent 449c43ca57
commit 0a1f739180

View File

@ -161,7 +161,9 @@ in
text = ''
minute=$(date +"%M")
minute=$(echo "($minute + 2.5) / 5 * 5" | bc)
if [ $minute > 30 ]; then
if [ $minute == 0 ]; then
echo "$(date +'%I')"
elif [ $minute > 30 ]; then
minute=$(((60-minute)))
echo "$minute to $((($(date +"%I") + 1)))"
elif [ $minute <= 30]; then