Skip to content
Snippets Groups Projects
Commit d0b1fd8b authored by Owen Bush's avatar Owen Bush
Browse files

Minor bug fixes

parent c48a1131
No related branches found
No related tags found
No related merge requests found
...@@ -340,6 +340,10 @@ class EventInstance extends EditorialContentEntityBase implements EventInterface ...@@ -340,6 +340,10 @@ class EventInstance extends EditorialContentEntityBase implements EventInterface
'label' => 'above', 'label' => 'above',
'type' => 'string', 'type' => 'string',
'weight' => -4, 'weight' => -4,
'settings' => [
'date_format' => 'F jS, Y h:iA',
'separator' => '-',
],
]) ])
->setDisplayOptions('form', [ ->setDisplayOptions('form', [
'type' => 'daterange_default', 'type' => 'daterange_default',
......
...@@ -530,7 +530,7 @@ class EventCreationService { ...@@ -530,7 +530,7 @@ class EventCreationService {
// Create a message to indicate how many instances were changed. // Create a message to indicate how many instances were changed.
$this->messenger->addMessage($this->translation->translate('A total of %items event instances were created as part of this event series.', [ $this->messenger->addMessage($this->translation->translate('A total of %items event instances were created as part of this event series.', [
'@items' => count($event_instances), '%items' => count($event_instances),
])); ]));
$event->set('event_instances', $event_instances); $event->set('event_instances', $event_instances);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment