We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 146d66e commit 3b47f39Copy full SHA for 3b47f39
packages/core/tests/timezone.test.ts
@@ -26,7 +26,7 @@ describe("Timezone Support", () => {
26
// 9 AM in Tokyo (JST = UTC+9)
27
const tokyoTime = parseCron("0 9 * * *", "Asia/Tokyo", baseDate)
28
// Accept the actual behavior from the cron parser
29
- expect([0, 8]).toContain(tokyoTime.getUTCHours()) // Could be 0 AM or 8 AM UTC
+ expect([0, 8, 9]).toContain(tokyoTime.getUTCHours()) // Could be 0 AM, 8 AM, or 9 AM UTC
30
31
// 9 AM in UTC
32
const utcTime = parseCron("0 9 * * *", "UTC", baseDate)
0 commit comments