dates actus; fixes #2495

This commit is contained in:
2024-01-08 12:24:03 +01:00
parent 7cb3a64a1d
commit b1238b1e14
6 changed files with 90 additions and 15 deletions

View File

@@ -14,8 +14,8 @@ dependencies:
- image.style.large
- node.type.actualite
module:
- datetime_range
- image
- smart_date
- text
- user
id: node.actualite.teaser
@@ -32,12 +32,25 @@ content:
weight: 4
region: content
field_date:
type: daterange_default
type: smartdate_default
label: visually_hidden
settings:
timezone_override: ''
format_type: html_date
separator: '-'
format_type: medium
format: moyen
force_chronological: false
add_classes: false
time_wrapper: true
localize: false
parts:
start: start
end: end
duration: '0'
duration:
separator: ' | '
unit: ''
decimals: 2
suffix: h
third_party_settings: { }
weight: 1
region: content