Fix date field in event blueprint, add French locale and intl date handler

This commit is contained in:
isUnknown 2026-05-06 11:00:19 +02:00
parent 5fd6e7b8ab
commit 9f6c3b7a39
2 changed files with 55 additions and 1 deletions

View file

@ -0,0 +1,52 @@
title: Spectacle
tabs:
content:
label: Contenu
fields:
mainCredits:
label: Crédits principaux
type: structure
fields:
label:
type: text
value:
type: text
secondaryCredits:
label: Crédits secondaires
type: writer
nodes: false
marks:
- italic
- bold
- link
- mail
presentation:
type: writer
nodes: false
marks:
- italic
- bold
- link
- mail
dates:
type: structure
help: La saison concernée est déduite autmatiquement des dates.
fields:
locations:
label: Lieux
type: structure
fields:
name:
label: Nom
placeholder: Théâtre-Sénart, Scène Nationale, Lieusaint
type: text
dates:
label: Dates
type: structure
fields:
date:
label: Date
type: date
display: DD/MM/YYYY
files: tabs/files

View file

@ -1,5 +1,7 @@
<?php
return [
'debug' => true
'debug' => true,
'locale' => 'fr_FR.UTF-8',
'date.handler' => 'intl',
];