X-Git-Url: http://aleph1.co.uk/gitweb/?a=blobdiff_plain;f=web%2Fcore%2Flib%2FDrupal%2FCore%2FField%2FPlugin%2FField%2FFieldFormatter%2FTimestampFormatter.php;h=f73f08340ab23a707fc25192513867e6cbae60fc;hb=0bf8d09d2542548982e81a441b1f16e75873a04f;hp=a24f5dd9b7509df849ecbb178dbe7ae42e430498;hpb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;p=yaffs-website diff --git a/web/core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/TimestampFormatter.php b/web/core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/TimestampFormatter.php index a24f5dd9b..f73f08340 100644 --- a/web/core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/TimestampFormatter.php +++ b/web/core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/TimestampFormatter.php @@ -132,7 +132,7 @@ class TimestampFormatter extends FormatterBase implements ContainerFactoryPlugin $elements['timezone'] = [ '#type' => 'select', '#title' => $this->t('Time zone'), - '#options' => ['' => $this->t('- Default site/user time zone -')] + system_time_zones(FALSE), + '#options' => ['' => $this->t('- Default site/user time zone -')] + system_time_zones(FALSE, TRUE), '#default_value' => $this->getSetting('timezone'), ];