Skip to content

Commit

Permalink
Change le type de champ pour la date de publication des unes
Browse files Browse the repository at this point in the history
Fix #6524
  • Loading branch information
philippemilink committed Oct 14, 2023
1 parent c29c53f commit 3338472
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zds/featured/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
),
)
Expand Down

0 comments on commit 3338472

Please sign in to comment.