Cron explainer says "on weekdays" for `0 0 1-31 * 1-5`, but the next runs include weekends
メンテナーはふだん 1 日以内に返信
@Saifjafri212213 がすでに取り組んでいます。
2026年10月23日 から。
評価
この issue はまだ評価されていません。
説明
Enter 0 0 1-31 * 1-5 in the cron explainer. The description says "At 00:00 on weekdays", but the next runs listed from Friday, Oct 23 are Sat 24, Sun 25, Mon 26, Tue 27 and Wed 28. The run list is right: when the day-of-month and day-of-week fields are both set (neither starts with *), cron runs on days that match either one, and 1-31 matches every day. The description is what's off. describeDays (lib/cron.ts, lines 265 to 291) treats a field that covers every value as unrestricted, while nextRuns (line 366) checks whether the field starts with * (star, line 134), the way cron does.
What to do
- Decide "restricted" in
describeDaysthe same waynextRunsdoes, and describe what actually runs. For0 0 1-31 * 1-5that's every day. 0 0 * * 1-5should still say "on weekdays".
Where to look
lib/cron.ts:describeDays(lines 265 to 291),describeCron(line 294) andnextRuns(line 366)lib/__tests__/cron.test.ts
Acceptance criteria
- The description of
0 0 1-31 * 1-5matches its next runs -
0 0 * * 1-5,0 0 1 * 1and the other existing descriptions stay the same - Tests that fail on the current code
-
npm run lint,npm run testandnpm run buildpass
Want to work on this? Comment below and I'll assign it to you. Please take one issue at a time, branch off develop, and open your PR against develop with Closes #329 in the description.
- 主要言語
- TypeScript
- スター
- 1
- フォーク
- 9
- 平均マージ
- 7時間 30分
- マージ済み PR(30日)
- 151
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
codercops/toolbelt のほかの issue
-
fix(UI): shortcut popover overflows対応中かも @DeepakNegi13 が 1 日前に担当しました。 オープンbug good first issue hacktoberfest
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
codercops/toolbelt#333 · コメント 2 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
Timestamp converter turns "February 30, 2024" into March 1 instead of rejecting it対応中かも @bhushan4work が 1 日前に担当しました。 オープンbug hacktoberfest help wanted
codercops/toolbelt#337 · コメント 2 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
Copy buttons in the URL encoder and JWT decoder are all named just "Copy"対応中かも @bhushan4work が 1 日前に担当しました。 オープンaccessibility bug good first issue hacktoberfest
codercops/toolbelt#335 · コメント 2 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
UUID generator's v7 batch comes out in random order instead of time order対応中かも @omisha123 が 2 日前に担当しました。 オープンbug good first issue hacktoberfest
codercops/toolbelt#316 · コメント 3 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
JSON formatter's "Did you mean" hint reads inside strings, so a missing comma near a URL says to remove comments対応中かも @kachamsiddarth が 2 日前に担当しました。 オープンbug good first issue hacktoberfest
codercops/toolbelt#314 · コメント 2 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
codercops/toolbelt の issue をすべて見る
似ている issue
-
[good first issue, hacktoberfest] 🏯 Hacktoberfest Task - Add new Japan Fact 898 (good-first-issue)オープンcommunity first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
難易度 1/5 1時間未満 初心者へのやさしさ 86/100
lingdojo/kana-dojo#33145 · コメント 1 件 · リアクション 5 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
code-yeongyu/senpi#4278 ·
メンテナーはふだん 1 日以内に返信
-
[Bug] Activity | The activity list ignores taskIds and returns the activities of every task対応中かも @NdekoCode が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
ever-co/ever-gauzy#11469 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
griffinwork40/agent-afk#4408 ·
メンテナーはふだん 1 日以内に返信