From 515d10367bbe5cc158153a90e7960f92c2862745 Mon Sep 17 00:00:00 2001
From: Lee Rowlands <lee.rowlands@previousnext.com.au>
Date: Mon, 12 Oct 2020 16:56:37 +1000
Subject: [PATCH] Issue #3175395 by NitinLama: Remove unused #html property
 from DateTimeFormatterBase::buildDateWithIsoAttribute

(cherry picked from commit 563ed8e8d3fd8f18e4f6403230ec6b8f8bf7e0b5)
---
 .../src/Plugin/Field/FieldFormatter/DateTimeFormatterBase.php    | 1 -
 1 file changed, 1 deletion(-)

diff --git a/core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimeFormatterBase.php b/core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimeFormatterBase.php
index 272cb9ea1ec1..93ef2a260a28 100644
--- a/core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimeFormatterBase.php
+++ b/core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimeFormatterBase.php
@@ -232,7 +232,6 @@ protected function buildDateWithIsoAttribute(DrupalDateTime $date) {
     $build = [
       '#theme' => 'time',
       '#text' => $this->formatDate($date),
-      '#html' => FALSE,
       '#attributes' => [
         'datetime' => $iso_date,
       ],
-- 
GitLab