Update src/internet_monitor.sh

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Howard-aile
2025-12-02 00:11:58 +08:00
committed by GitHub
parent 95838db387
commit 88e67a611f
+1 -1
View File
@@ -66,7 +66,7 @@ days_until_next_month() {
if date -v1d -v+1m +%s >/dev/null 2>&1; then
# macOS/BSD date
next_month_ts=$(date -v1d -v+1m +%s)
next_month_ts=$(date -v+1m -v1d +%s)
else
# GNU date
next_month_ts=$(date -d "$(date +%Y-%m-01) +1 month" +%s)