Commit f154a502 authored by Martin Anderson-Clutz's avatar Martin Anderson-Clutz
Browse files

Issue #3291962 by mandclu: Undefined property:...

Issue #3291962 by mandclu: Undefined property: Drupal\smart_date\Plugin\views\filter\Date::$dateFormat
parent 874067f5
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -250,9 +250,7 @@ class Date extends CoreDate implements ContainerFactoryPluginInterface {
   *   The time zone name.
   */
  protected function getTimezone() {
    return $this->dateFormat === DateTimeItemInterface::DATE_STORAGE_FORMAT
      ? DateTimeItemInterface::STORAGE_TIMEZONE
      : date_default_timezone_get();
    return date_default_timezone_get();
  }

}