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

View File

@ -13,10 +13,10 @@ dependencies:
- field.field.node.actualite.field_type_d_actualite - field.field.node.actualite.field_type_d_actualite
- node.type.actualite - node.type.actualite
module: module:
- datetime_range
- file - file
- image - image
- link - link
- smart_date
- text - text
- user - user
id: node.actualite.full id: node.actualite.full
@ -32,12 +32,25 @@ content:
weight: 4 weight: 4
region: content region: content
field_date: field_date:
type: daterange_default type: smartdate_default
label: visually_hidden label: visually_hidden
settings: settings:
timezone_override: '' timezone_override: ''
format_type: html_date 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: { } third_party_settings: { }
weight: 0 weight: 0
region: content region: content

View File

@ -13,8 +13,8 @@ dependencies:
- field.field.node.actualite.field_type_d_actualite - field.field.node.actualite.field_type_d_actualite
- node.type.actualite - node.type.actualite
module: module:
- datetime_range
- image - image
- smart_date
- user - user
id: node.actualite.home id: node.actualite.home
targetEntityType: node targetEntityType: node
@ -22,12 +22,25 @@ bundle: actualite
mode: home mode: home
content: content:
field_date: field_date:
type: daterange_default type: smartdate_default
label: visually_hidden label: visually_hidden
settings: settings:
timezone_override: '' timezone_override: ''
format_type: html_date 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: { } third_party_settings: { }
weight: 1 weight: 1
region: content region: content

View File

@ -14,8 +14,8 @@ dependencies:
- image.style.large - image.style.large
- node.type.actualite - node.type.actualite
module: module:
- datetime_range
- image - image
- smart_date
- text - text
- user - user
id: node.actualite.teaser id: node.actualite.teaser
@ -32,12 +32,25 @@ content:
weight: 4 weight: 4
region: content region: content
field_date: field_date:
type: daterange_default type: smartdate_default
label: visually_hidden label: visually_hidden
settings: settings:
timezone_override: '' timezone_override: ''
format_type: html_date 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: { } third_party_settings: { }
weight: 1 weight: 1
region: content 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'