Content deleted Content added
No edit summary Tags: Mobile edit Mobile web edit Advanced mobile edit |
No edit summary Tags: Mobile edit Mobile web edit Advanced mobile edit |
||
Line 1:
local p = {}
local MONTH = {
January = 1, February = 2, March = 3, April = 4, May = 5, June = 6,
Line 5 ⟶ 6:
}
if not date then
return os.time() + 21600 -- fallback to current time (UTC+6)
Line 24 ⟶ 25:
if not (day and month and year) then
return nil, "Invalid date format. Use DD-MM-YYYY or DD Month YYYY."
end
Line 38 ⟶ 39:
end
-- Main function
function p.main(date)
local
return
end
|