From 251a89953da146c78d74b7970786c9149f26ca65 Mon Sep 17 00:00:00 2001 From: ADmad Date: Thu, 16 Jul 2020 17:52:20 +0530 Subject: [PATCH] Use new FontAwesome 5 class. "fa" is deprecated. --- src/View/Widget/DateTimeWidget.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/View/Widget/DateTimeWidget.php b/src/View/Widget/DateTimeWidget.php index 7be993c..3a58e96 100644 --- a/src/View/Widget/DateTimeWidget.php +++ b/src/View/Widget/DateTimeWidget.php @@ -85,13 +85,13 @@ public function render(array $data, ContextInterface $context): string $datetimePicker += ['data-enable-seconds' => 'true']; } - $clearIconClass = 'fa fa-times'; - $toggleIconClass = 'fa fa-calendar-alt'; + $clearIconClass = 'fas fa-times'; + $toggleIconClass = 'fas fa-calendar-alt'; if (isset($datetimePicker['iconClass'])) { $toggleIconClass = $datetimePicker['iconClass']; unset($datetimePicker['iconClass']); } elseif ($data['type'] === 'time') { - $toggleIconClass = 'fa fa-clock'; + $toggleIconClass = 'fas fa-clock'; } if ($this->_templates->get('datetimePicker') === null) {