-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
EWPP-1983: Replace event date fields with timezone ones.
- Loading branch information
Showing
20 changed files
with
126 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
..._theme_content_event/config/install/core.date_format.oe_event_long_date_hour_timezone.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
langcode: en | ||
status: true | ||
dependencies: { } | ||
id: oe_event_long_date_hour_timezone | ||
label: 'Event long date with hour and timezone' | ||
locked: false | ||
pattern: 'l j F Y, H:i T' |
7 changes: 0 additions & 7 deletions
7
modules/oe_theme_content_event/config/install/core.date_format.oe_event_programme_date.yml
This file was deleted.
Oops, something went wrong.
7 changes: 0 additions & 7 deletions
7
...s/oe_theme_content_event/config/install/core.date_format.oe_event_programme_date_hour.yml
This file was deleted.
Oops, something went wrong.
7 changes: 7 additions & 0 deletions
7
...e_content_event/config/install/core.date_format.oe_event_programme_date_hour_timezone.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
langcode: en | ||
status: true | ||
dependencies: { } | ||
id: oe_event_programme_date_hour_timezone | ||
label: 'Event programme date with hour with timezone' | ||
locked: false | ||
pattern: 'j M Y, h:i A T' |
7 changes: 7 additions & 0 deletions
7
..._theme_content_event/config/install/core.date_format.oe_event_programme_date_timezone.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
langcode: en | ||
status: true | ||
dependencies: { } | ||
id: oe_event_programme_date_timezone | ||
label: 'Event programme date with timezone' | ||
locked: false | ||
pattern: 'j M Y T' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
...ates/30001_update_full_view_display/core.date_format.oe_event_long_date_hour_timezone.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
langcode: en | ||
status: true | ||
dependencies: { } | ||
id: oe_event_long_date_hour_timezone | ||
label: 'Event long date with hour and timezone' | ||
locked: false | ||
pattern: 'l j F Y, H:i T' |
7 changes: 7 additions & 0 deletions
7
...30001_update_full_view_display/core.date_format.oe_event_programme_date_hour_timezone.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
langcode: en | ||
status: true | ||
dependencies: { } | ||
id: oe_event_programme_date_hour_timezone | ||
label: 'Event programme date with hour with timezone' | ||
locked: false | ||
pattern: 'j M Y, h:i A T' |
7 changes: 7 additions & 0 deletions
7
...ates/30001_update_full_view_display/core.date_format.oe_event_programme_date_timezone.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
langcode: en | ||
status: true | ||
dependencies: { } | ||
id: oe_event_programme_date_timezone | ||
label: 'Event programme date with timezone' | ||
locked: false | ||
pattern: 'j M Y T' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
modules/oe_theme_content_event/templates/datetime-range-timezone.html.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{# | ||
/** | ||
* @file | ||
* Theme override for the datetime-range-timezone template. | ||
* | ||
* @see \Drupal\datetime_range_timezone\Plugin\Field\FieldFormatter\DateRangeTimezone::viewElements() | ||
*/ | ||
#} | ||
<div class='daterange'> | ||
<span class='daterange__date daterange__start-date'>{{ start_date }}</span> | ||
<span class='daterange__separtor'> {{ separator }} </span> | ||
<span class='daterange__date daterange__end-date'>{{ end_date }}</span> | ||
|
||
{% if timezone %} | ||
<span class='daterange__timezone'> {{ timezone }}</span> | ||
{% endif %} | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.