Skip to content

Commit

Permalink
document: fix due date in detailed view
Browse files Browse the repository at this point in the history
* Removes the time from the due date.
* Closes rero#1398.

Co-Authored-by: Alicia Zangger <alicia.zangger@rero.ch>
  • Loading branch information
Alicia Zangger authored and AoNoOokami committed Nov 9, 2020
1 parent f9a4e2d commit bc39704
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rero_ils/modules/items/api/circulation.py
Original file line number Diff line number Diff line change
Expand Up @@ -1259,6 +1259,7 @@ def get_item_end_date(self, format='short'):
due_date = format_date_filter(
end_date,
date_format=format,
time_format=None,
locale=current_i18n.locale.language,
)
return due_date
Expand Down

0 comments on commit bc39704

Please sign in to comment.