From bc3970430c6f4ed8c8a3bd9e83d9a8b735f96a67 Mon Sep 17 00:00:00 2001 From: Alicia Zangger Date: Fri, 6 Nov 2020 14:30:14 +0100 Subject: [PATCH] document: fix due date in detailed view * Removes the time from the due date. * Closes #1398. Co-Authored-by: Alicia Zangger --- rero_ils/modules/items/api/circulation.py | 1 + 1 file changed, 1 insertion(+) diff --git a/rero_ils/modules/items/api/circulation.py b/rero_ils/modules/items/api/circulation.py index 281aa74a2d..42cb70c112 100644 --- a/rero_ils/modules/items/api/circulation.py +++ b/rero_ils/modules/items/api/circulation.py @@ -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