mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-29 01:08:54 +00:00
Directly using os.date instead of localizing iit
This commit is contained in:
@@ -65,8 +65,7 @@ local function checkDOBFormat(dob)
|
||||
return false
|
||||
end
|
||||
|
||||
local currentDate = os.date("*t")
|
||||
local currentYear = currentDate.year
|
||||
local currentYear = os.date("*t").year
|
||||
local minYear = currentYear - Config.MaxAge
|
||||
local maxYear = currentYear - 18
|
||||
|
||||
|
||||
Reference in New Issue
Block a user