From 88e67a611f5d3ddd9e816fc3ef4a32fa4a191dc2 Mon Sep 17 00:00:00 2001 From: Howard-aile <156976283+Howard-aile@users.noreply.github.com> Date: Tue, 2 Dec 2025 00:11:58 +0800 Subject: [PATCH] Update src/internet_monitor.sh Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- src/internet_monitor.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/internet_monitor.sh b/src/internet_monitor.sh index b633c5b..034807c 100755 --- a/src/internet_monitor.sh +++ b/src/internet_monitor.sh @@ -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)