From 9cc210216e6d171c25ed645e7ff938aa71a337ad Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Tue, 3 Mar 2015 20:20:39 -0500 Subject: [PATCH] CRM-15932 - Fix exclude date format --- CRM/Core/Form/RecurringEntity.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Core/Form/RecurringEntity.php b/CRM/Core/Form/RecurringEntity.php index f3247fe269..7f73df3ec9 100644 --- a/CRM/Core/Form/RecurringEntity.php +++ b/CRM/Core/Form/RecurringEntity.php @@ -100,7 +100,7 @@ class CRM_Core_Form_RecurringEntity { $excludeOptionValues = array(); if (!empty($optionValue)) { foreach ($optionValue as $key => $val) { - $excludeOptionValues[$val['value']] = CRM_Utils_Date::customFormat($val['value']); + $excludeOptionValues[$val['value']] = substr(CRM_Utils_Date::mysqlToIso($val['value']), 0, 10); } self::$_excludeDateInfo = $excludeOptionValues; } -- 2.25.1