From 04184f4a9a7e5ba097ef68309d9d15c227445672 Mon Sep 17 00:00:00 2001 From: yashodha Date: Fri, 24 Jan 2020 18:50:33 +0530 Subject: [PATCH] remove unused code --- CRM/Utils/Date.php | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/CRM/Utils/Date.php b/CRM/Utils/Date.php index 7b57e520dd..5accb77e7a 100644 --- a/CRM/Utils/Date.php +++ b/CRM/Utils/Date.php @@ -2033,19 +2033,6 @@ class CRM_Utils_Date { } } - // now we set display date using js, hence we should always setdefault - // 'm/d/Y' format. So that submitted value is alwats mm/dd/YY format - // note that for date display we dynamically create text field - /* - if ( !$format ) { - $format = $config->dateInputFormat; - } - - // get actual format - $actualPHPFormats = CRM_Core_SelectValues::datePluginToPHPFormats( ); - $dateFormat = CRM_Utils_Array::value( $format, $actualPHPFormats ); - */ - $dateFormat = 'm/d/Y'; $date = date($dateFormat, strtotime($mysqlDate)); -- 2.25.1