From 3338472dbe4febbbfe0a923e3f45eb37ce08656a Mon Sep 17 00:00:00 2001 From: Philippe MILINK Date: Sat, 14 Oct 2023 23:26:43 +0200 Subject: [PATCH] Change le type de champ pour la date de publication des unes Fix #6524 --- zds/featured/forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zds/featured/forms.py b/zds/featured/forms.py index 60ea5ff3cb..0ebffcad39 100644 --- a/zds/featured/forms.py +++ b/zds/featured/forms.py @@ -42,7 +42,7 @@ class Meta: "%d/%m/%Y", # day only ], widget=forms.DateTimeInput( - attrs={"placeholder": _("Exemple : 25/12/2016 10:00"), "type": "text"}, + attrs={"placeholder": _("Exemple : 25/12/2016 10:00"), "type": "datetime-local"}, format="%d/%m/%Y %H:%M", # datetime field format ), )