mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-25 11:01:12 +00:00
Convert DateTime to date
This commit is contained in:
parent
ae5950f187
commit
9acb5f66fe
1 changed files with 3 additions and 3 deletions
|
@ -77,9 +77,9 @@ class Export(View):
|
|||
.first()
|
||||
)
|
||||
if readthrough:
|
||||
book.start_date = readthrough.start_date
|
||||
book.finish_date = readthrough.finish_date
|
||||
book.stopped_date = readthrough.stopped_date
|
||||
book.start_date = readthrough.start_date.date() if readthrough.start_date else ""
|
||||
book.finish_date = readthrough.finish_date.date() if readthrough.finish_date else ""
|
||||
book.stopped_date = readthrough.stopped_date.date() if readthrough.stopped_date else ""
|
||||
|
||||
review = (
|
||||
models.Review.objects.filter(
|
||||
|
|
Loading…
Reference in a new issue