]> git.llucax.com Git - mecon/meconlib.git/commitdiff
(no commit message)
authorMartín Marrese <marrese@gmail.com>
Wed, 11 Jun 2003 16:10:17 +0000 (16:10 +0000)
committerMartín Marrese <marrese@gmail.com>
Wed, 11 Jun 2003 16:10:17 +0000 (16:10 +0000)
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
      */
-    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
 }
 ?>