2024-12-29 23:01 : id 51
This commit is contained in:
parent
449c43ca57
commit
0a1f739180
@ -161,7 +161,9 @@ in
|
|||||||
text = ''
|
text = ''
|
||||||
minute=$(date +"%M")
|
minute=$(date +"%M")
|
||||||
minute=$(echo "($minute + 2.5) / 5 * 5" | bc)
|
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)))
|
minute=$(((60-minute)))
|
||||||
echo "$minute to $((($(date +"%I") + 1)))"
|
echo "$minute to $((($(date +"%I") + 1)))"
|
||||||
elif [ $minute <= 30]; then
|
elif [ $minute <= 30]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user