From 92da6585c67ab1d53d58d5823516017cc0013438 Mon Sep 17 00:00:00 2001 From: Jean-Marie Favreau Date: Sun, 8 Dec 2024 09:07:16 +0100 Subject: [PATCH] =?UTF-8?q?Correction=20apr=C3=A8s=20modification=20de=20U?= =?UTF-8?q?SE=5FTZ=3DFalse?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix #245 --- src/agenda_culturel/forms.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/agenda_culturel/forms.py b/src/agenda_culturel/forms.py index 30e3e85..fc272db 100644 --- a/src/agenda_culturel/forms.py +++ b/src/agenda_culturel/forms.py @@ -33,7 +33,6 @@ from django.utils.translation import gettext_lazy as _ from string import ascii_uppercase as auc from .templatetags.utils_extra import int_to_abc from django.utils.safestring import mark_safe -from django.utils.timezone import localtime from django.utils.formats import localize from .templatetags.event_extra import event_field_verbose_name, field_to_html import os @@ -549,17 +548,17 @@ class MergeDuplicates(Form): '
  • ' + e.title + "
  • " ) result += ( - "
  • Création : " + localize(localtime(e.created_date)) + "
  • " + "
  • Création : " + localize(e.created_date) + "
  • " ) result += ( "
  • Dernière modification : " - + localize(localtime(e.modified_date)) + + localize(e.modified_date) + "
  • " ) if e.imported_date: result += ( "
  • Dernière importation : " - + localize(localtime(e.imported_date)) + + localize(e.imported_date) + "
  • " ) result += ""