admin: publish date without time
This commit is contained in:
@ -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] }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user