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

[BUG] not work for small unix timestamp like 57600000 #153

Open
QTrouble opened this issue Jun 9, 2023 · 0 comments
Open

[BUG] not work for small unix timestamp like 57600000 #153

QTrouble opened this issue Jun 9, 2023 · 0 comments

Comments

@QTrouble
Copy link

QTrouble commented Jun 9, 2023

when i want to transfer a small unix timestamp 57600000 to time,it throws an exception “month out of range”. I read code and find the reason, the dateparse thinks 57600000 as a yyyymmdd string, and the "mm" is 00, so it throws “month out of range”, and when i use 57600101 ,it parse the time to 5760-01-01 00:00:00.
image

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

1 participant