From 7d76ee7ce84e576e894bad60fddb965403fbe45a Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Fri, 26 Sep 2014 21:50:51 -0400 Subject: [PATCH] CRM-15275 - Fix datepicker error with certain format --- templates/CRM/common/jcalendar.tpl | 6 ------ 1 file changed, 6 deletions(-) diff --git a/templates/CRM/common/jcalendar.tpl b/templates/CRM/common/jcalendar.tpl index 92fd8b3982..9cc20457e5 100644 --- a/templates/CRM/common/jcalendar.tpl +++ b/templates/CRM/common/jcalendar.tpl @@ -88,12 +88,6 @@ date_format = $originalElement.attr('format'), altDateFormat = 'mm/dd/yy'; {literal} - switch ( date_format ) { - case 'dd-mm': - case 'mm/dd': - altDateFormat = 'mm/dd'; - break; - } if ( !( ( date_format == 'M yy' ) || ( date_format == 'yy' ) || ( date_format == 'yy-mm' ) ) ) { $dateElement.addClass( 'dpDate' ); -- 2.25.1