Skip to content

Commit

Permalink
bump
Browse files Browse the repository at this point in the history
  • Loading branch information
ipitio committed Jan 30, 2024
1 parent d0299ab commit 080172d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion advanced/Scripts/webpage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -666,7 +666,7 @@ generate_systemd_calendar() {
if (( $(echo "$full_days > 0" | bc -l) )); then
freq_entries+=("*-*-1/$(printf "%02.0f" $full_days)")
fi
if (( $(echo "$remaining_hours > 0" | bc -l) )); then
if (( $(echo "$remaining_hours > 0" | bc -l) )); then # partial day
local remaining_minutes=$(echo "($remaining_hours - ($remaining_hours / 1)) * 60" | bc)
remaining_hours=${remaining_hours%.*}
remaining_minutes=${remaining_minutes%.*}
Expand Down

0 comments on commit 080172d

Please sign in to comment.