diff --git a/.github/workflows/meeting-reminder.yaml b/.github/workflows/meeting-reminder.yaml index 4edb0de..8a3fee8 100644 --- a/.github/workflows/meeting-reminder.yaml +++ b/.github/workflows/meeting-reminder.yaml @@ -19,7 +19,7 @@ jobs: echo "next_date=$next_date" >> "$GITHUB_OUTPUT" echo "next_date_iso=$next_date_iso" >> "$GITHUB_OUTPUT" echo "next_date_year=$next_date_year" >> "$GITHUB_OUTPUT" - next_date_week=$(date -d "next Wednesday" "+%U") + next_date_week=$(date -d "next Wednesday" "+%V") if [[ $(($next_date_week % 3)) != 0 ]]; then echo "::notice::Wrong week, skip sending reminder."