dates actus; fixes #2495

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

View File

@ -0,0 +1,8 @@
uuid: 1b2356c7-f76c-4e0a-80e7-6ff49bf35099
langcode: fr
status: true
dependencies: { }
id: moyen
label: Moyen
locked: false
pattern: 'j F Y'

View File

@ -12,10 +12,10 @@ dependencies:
- field.field.node.actualite.field_type_d_actualite
- node.type.actualite
module:
- datetime_range
- file
- image
- link
- smart_date
- text
- user
id: node.actualite.default
@ -31,12 +31,25 @@ content:
weight: 101
region: content
field_date:
type: daterange_default
type: smartdate_default
label: above
settings:
timezone_override: ''
format_type: medium
separator: '-'
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: 103
region: content

View File

@ -13,10 +13,10 @@ dependencies:
- field.field.node.actualite.field_type_d_actualite
- node.type.actualite
module:
- datetime_range
- file
- image
- link
- smart_date
- text
- user
id: node.actualite.full
@ -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: 0
region: content

View File

@ -13,8 +13,8 @@ dependencies:
- field.field.node.actualite.field_type_d_actualite
- node.type.actualite
module:
- datetime_range
- image
- smart_date
- user
id: node.actualite.home
targetEntityType: node
@ -22,12 +22,25 @@ bundle: actualite
mode: home
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

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

View File

@ -0,0 +1,15 @@
uuid: eb248512-d46a-4a68-9155-b8aa6cbad3ec
langcode: fr
status: true
dependencies: { }
id: moyen
label: moyen
date_format: 'j F Y'
time_format: ''
time_hour_format: ''
allday_label: ''
separator: ' - '
join: ', '
ampm_reduce: '1'
date_first: '1'
site_time_toggle: '0'