From: Coleman Watts Date: Wed, 4 Mar 2015 01:20:39 +0000 (-0500) Subject: CRM-15932 - Fix exclude date format X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=9cc210216e6d171c25ed645e7ff938aa71a337ad;p=civicrm-core.git CRM-15932 - Fix exclude date format --- 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; }