Skip to content
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

Incorrect date formatting created_at #12

Open
sweebee opened this issue Aug 10, 2024 · 3 comments
Open

Incorrect date formatting created_at #12

sweebee opened this issue Aug 10, 2024 · 3 comments

Comments

@sweebee
Copy link

sweebee commented Aug 10, 2024

I'm trying this package, but it doesnt seem to work when pushing changes:

Incorrect datetime value: '56578-08-03 05:33:14' for column 'created_at' at row 1
@nathanheffley
Copy link
Owner

That is indeed an invalid timestamp. Are you generating that timestamp or is there a stack trace associated with this to see what line of code is generating that timestamp?

@nathanheffley
Copy link
Owner

I guess I should say, it is probably invalid due to the year but I don't know what database you're leaving.

If you can provide me with some information like your database and the stack trace, tell me what date you're trying to put into the database (if it really is the date you want, why? Please use reasonable data to replicate the issue, I am unlikely to release a bugfix because dates 10k years in the future don't work).

@propsu
Copy link

propsu commented Sep 6, 2024

The issue propably is caused by timestamp in your frontend which is in miliseconds

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants