-
-
Notifications
You must be signed in to change notification settings - Fork 267
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
Importing book uses today's values for missing date parts #2660
Comments
I just imported a book today from OpenLibrary which had its published date set correctly. Do you have a specific book that I could check this with? |
Are you sure that's correct? On OpenLibrary it just says "2022". On the BookWyrm page you link to it says "13 Feb 2022". Looks like exactly the issue I'm describing. |
With the date and month yes, which is most likely related to #743. But the year is set correctly to 2022, not 2023. |
Sorry, my mistake. Fixed the description now. |
Did a bit of digging, and this is where it originally happens: bookwyrm/bookwyrm/models/fields.py Line 486 in 2c2daf5
In addition, and this is more related to #743, we would need to change how to store this data, it's currently using Django's |
Describe the bug
When importing a book from OpenLibrary, month and day are set to today's month and day.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The book is shown on BookWyrm as published in 2022 (month and date unspecified)
Actual behavior
The book is shown on BookWyrm as published on Feb 12, 2022
Additional context
Related issue: #743
The text was updated successfully, but these errors were encountered: