Content deleted Content added
validations |
hmm |
||
Line 161:
function checkIfYearValid(year)
return year >=
end
Line 183:
local day, month, year, hour, minute, second = tryParseDateTime(input)
return day .. month .. year .. hour .. minute .. second
--[[
-- If we have a second, we have all 6
if (second) then
Line 226 ⟶ 228:
return string.format("%d-%02d-%02d", year, month, day)
]]
end
|