From 7ce972118977fe3b21a84d15e6b9f2f732593dc9 Mon Sep 17 00:00:00 2001 From: demeritcowboy Date: Mon, 20 Nov 2023 20:18:10 -0500 Subject: [PATCH] bring back time field --- CRM/Utils/Date.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Utils/Date.php b/CRM/Utils/Date.php index 8fcf869072..4501e3d0e1 100644 --- a/CRM/Utils/Date.php +++ b/CRM/Utils/Date.php @@ -1987,7 +1987,7 @@ class CRM_Utils_Date { $field['smarty_view_format'] = $dateAttributes['smarty_view_format']; } $field['datepicker']['extra'] = self::getDatePickerExtra($field); - $field['datepicker']['extra']['time'] = $fieldMetaData['type'] == CRM_Utils_Type::T_TIMESTAMP; + $field['datepicker']['extra']['time'] = $fieldMetaData['type'] == CRM_Utils_Type::T_TIMESTAMP || $fieldMetaData['type'] == (CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME); $field['datepicker']['attributes'] = self::getDatePickerAttributes($field); } } -- 2.25.1