Skip to content
Snippets Groups Projects
Commit d795dc86 authored by Roderik Muit's avatar Roderik Muit
Browse files

Issue #3466510: Fix custom date format in settings summary

parent c59abea5
Branches
Tags
No related merge requests found
Pipeline #367758 passed with warnings
......@@ -147,7 +147,7 @@ class TimestampCeFieldFormatter extends RawCeFieldFormatter {
public function settingsSummary() {
$summary = parent::settingsSummary();
$date_format = $this->configuration['date_format'];
$date_format = $date_format === static::CUSTOM_DATE_FORMAT ? $this->configuration['date_format'] : $date_format;
$date_format = $date_format === static::CUSTOM_DATE_FORMAT ? $this->configuration['custom_date_format'] : $date_format;
$summary[] = $this->t('Date format: @date_format', ['@date_format' => $date_format]);
return $summary;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment