diff --git a/static/admin/config.yml b/static/admin/config.yml index a5abf62..cf5eb5b 100644 --- a/static/admin/config.yml +++ b/static/admin/config.yml @@ -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] }