mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-16 22:46:03 +01:00
fix(cron): matching weekdayMap with os.date (#700)
This commit is contained in:
@@ -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 = {
|
||||||
|
|||||||
Reference in New Issue
Block a user