-
-
Notifications
You must be signed in to change notification settings - Fork 733
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] - esx_script - Issue #1391
Comments
i keep checking back to see if yall going to tell me i did something wrong maybe lol |
would that just be showing you my DOB or what exactly do u need |
is a video of my making a character and showing the -1 DOB |
Hi! Interesting you should use latest version esx identity and it's works. |
it doesnt. i have ran through the whole test in the discord before reporting it here, including reinstalling all of the core |
just did a reinstall of a fresh esx_indentify and still dont get correct entered date |
@Deathdomain Hi! It is probably because of the time zone that you have this discrepancy.
Run this mysql command and send me what you get back. If it says "SYSTEM" then the time zone where your system is running is the time zone your MYSQL server is using.
|
@Deathdomain Hi! It's 100% time zone problem, check your server timezone and try to set any valid UTC time. |
Look at what i said, its NOT working |
i tried the command you told me to execute and it looks like it didn't even work, let alone change me from SYSTEM when doing SELECT @@global.time_zone, @@session.time_zone; again |
GMT-04:00 which is Eastern Timezone. i have tried that with SET time_zone = '-04:00'; which came back with a empty response |
fwiw, if you're using a hosting company, and their customer support is decent, they might be happy to set it for you. Also, with hosting companies, I've seen it happen where setting |
@Deathdomain Hi! I only described one option, I don't know what your solution will be. You have to manage to be in a time zone where there is no time difference, if you can manage that it will work. Watch the video on how to set the time zone on your computer or server machine. I'm closing issue because this is not an ESX problem but a specific problem. |
-.- this isnt a me issue |
esx_identity-test-utc-manual-parse-date.zip I made you a manual parse date which will probably work for you too. Test it and let me know if it works. You just need to copy the script.js file in your version, although I'd prefer it if you copied the version I sent you one by one and tried that. |
@Deathdomain Hi! Did you try what I sent you? Did it solve your problem? |
no it hasnt worked, sorry i lost track of this thread. i did exactly what you said and replaced the script.js and it didnt change anything |
well replace the esx_identity with the one u sent and used my script.js |
Hi! @Deathdomain Interesting then I don't know what your problem might be because now in JS it is independent of what time zone you are in that the date value will be correct. Either you haven't restarted the server or you are using some modified esx_identity, or some other identity is overwriting the date or some script is overwriting the date. I don't know what your problem is, but it's interesting because no one else has reported it, and there must be other users in your timezone. This must be a very specific case. Until we can reproduce it, we can't fix the problem. |
Date of Birth is always -1 day for me I.E put 12/10/1967 i get 12/09/1967
only way i can say to make it happen would be to try to make a character and see yourself with the current core
Debug Info (please complete the following information):
Additional context
its really only off by one day, not a huge deal but it does break the RP if someone doesnt and says the wrong birthday
The text was updated successfully, but these errors were encountered: