overextended/ox_core

[Bug] Character is not created if birth date is less than 1970

brunosollar opened this issue · 0 comments

Describe the bug
When creating a character, if you enter a date of birth less than 1970 it shows an error and the character is not created.

I believe this problem is happening due to the use of Unix Time, which only accepts dates greater than January 1, 1970.

To Reproduce
Steps to reproduce the behavior:

  1. Join the server
  2. Create a character with a birth date less than 1970
  3. View the error in the server console

Expected behavior
The character is created and saved in the database.

Screenshots
Screenshot 2024-01-17 163851