-
Notifications
You must be signed in to change notification settings - Fork 6
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
Created time offset set to 53min28s for no reason #142
Comments
Hey there, okay, that should not happen. Can you please tell me the value of the |
Hi! Both timezones are set to +1:00, timestamps from paperless logs also match my current windows time. From what I can tell, those settings are ok. |
@tb1337 I created two additional documents, identical to the ones in my original post but with different created times:
So unless you are a historian or do tests with very weird numbers (like me), you will never notice this bug. If it does not make you feel uncomfortable to have this timezone bug buried somewhere, feel free to close the ticket. I will now stick to non-historian times. |
There hasn't been any activity on this issue recently, so we have to clean up some inactive issues. |
Reactivated. I am just on vacation. |
Hey, I can reproduce the behavior, but currently I think it's a Paperless-ngx thing. Gonna check the Paperless-ngx code for any reason for what is happening here. |
I created a document via
The created document has a weird timezone offset of 53:28
Output:
1001-02-03 00:53:28+00:53:28
The object is equally weird:
document.created
yields
datetime.datetime(1001, 2, 3, 0, 53, 28, tzinfo=datetime.timezone(datetime.timedelta(seconds=3208)))
This by the way is not one time, it happens on other documents as well and is independent of the current time. Any idea whats going on there? I would do some investigation myself, but my debugging skills stopped at the async functions.
The text was updated successfully, but these errors were encountered: