fix(cron): matching weekdayMap with os.date (#700)

This commit is contained in:
hakanesnn
2025-01-29 07:00:20 +11:00
committed by GitHub
parent 45b045a37e
commit 7076f19c9b
+7 -7
View File
@@ -51,13 +51,13 @@ local maxUnits = {
} }
local weekdayMap = { local weekdayMap = {
sun = 0, sun = 1,
mon = 1, mon = 2,
tue = 2, tue = 3,
wed = 3, wed = 4,
thu = 4, thu = 5,
fri = 5, fri = 6,
sat = 6, sat = 7,
} }
local monthMap = { local monthMap = {