* @access public
* @return bool
*/
- function validate($nombre, $valor, $formato = '')
+ function validate($valor, $nombre, $formato = '')
{
- return Validate::date($valor['F'].'-'.$valor['d'].'-'.$valor['Y'],array('format' => '%Y-%m-%d'));
+ return Validate::date($valor['Y'].'-'.$valor['d'].'-'.$valor['F'], array('format' => '%Y-%m-%d'));
} // end func validate
}
?>