Skip to content

Commit

Permalink
Merge pull request #10 from netz39/dow-calculation
Browse files Browse the repository at this point in the history
Fix calculation of DoW
  • Loading branch information
24367dfa authored Jan 15, 2024
2 parents 0cbbfdf + 3461826 commit 359417f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/meeting-reminder.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand Down

0 comments on commit 359417f

Please sign in to comment.