admin: publish date without time

This commit is contained in:
2025-06-08 23:01:24 +02:00
parent 21eabbfe9c
commit 0a8e9bfe37

View File

@ -25,7 +25,7 @@ collections:
fields:
- { label: "Titre", name: "title", widget: "string" }
- { label: "Date", name: "expiryDate", widget: "datetime", date_format: "YYYY-MM-DD" }
- { label: "Date publication", name: "publishDate", widget: "datetime", default: "{{now}}" }
- { label: "Date publication", name: "publishDate", widget: "datetime", date_format: "YYYY-MM-DD", default: "{{now}}" }
- { label: "Type", name: "type", widget: "select", default: "autre", options: [ski, camp, AG, autre] }
- { label: "Contenu", name: "body", widget: "markdown", modes: [rich_text] }