]> git.llucax.com Git - mecon/meconlib.git/blobdiff - HTML/php/QuickForm/mdate.php
(no commit message)
[mecon/meconlib.git] / HTML / php / QuickForm / mdate.php
index 751830d607e2e1908a65af1cb2ce938d5408eaae..9a54ae80137c939e095cd93469a6abdc93bfcbb0 100644 (file)
@@ -116,9 +116,9 @@ class HTML_QuickForm_mdate extends HTML_QuickForm_date
      * @access public
      * @return bool
      */
      * @access public
      * @return bool
      */
-    function validate($fecha)
+    function validate($nombre, $valor, $formato = '')
     {
     {
-        return Validate::date($fecha, array('format' => '%Y-%m-%d'))
+        return Validate::date($valor['F'].'-'.$valor['d'].'-'.$valor['Y'],array('format' => '%Y-%m-%d'));
     } // end func validate
 }
 ?>
     } // end func validate
 }
 ?>