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