Hello,
When I add a second to '2010-12-31 23:59:59', I get '2010-01-01 00:00:00'.
Instead of 2011 I have 2010
Test code :
$t = '2010-12-31 23:59:59';
$zd = new Zend_Date($t, '-MM-dd HH:mm:ss');
echo $zd->get('-MM-dd HH:mm:ss');
echo '';
$zd->addSecond(1);
echo $zd->get('-MM-dd HH:mm
Hi all,
how to translate messages from a custom validator?
For all built-in validator I use to create the {validator_name}.php file within
the languages/{language_code} directory, ex
languages/it/Zend_Validate_Between.php
and this works,
but for custom validator it seems this is not working,
This is what I'm using for a multi-database setup.
If you're using Zend_Db_Table, this works nicely with setting the db params
in the application.ini file while allowing you to specify a different db
connection your dttable files.
Of course make adjustments for the class naming and your
Look into the FAQ and the manual what the difference between "Y" and "y" is.
Best regards,
Thomas Weidner
Zend Framework Certified Engineer & I18N Team Leader
http://www.thomasweidner.com
-Ursprüngliche Nachricht-
Von: debussy007 [mailto:debussy...@gmail.com]
Gesendet: Samstag, 18. Sept
On Sat, Sep 18, 2010 at 12:17 PM, debussy007 wrote:
>
> Hello,
>
> When I add a second to '2010-12-31 23:59:59', I get '2010-01-01 00:00:00'.
> Instead of 2011 I have 2010
>
> Test code :
>
> $t = '2010-12-31 23:59:59';
> $zd = new Zend_Date($t, '-MM-dd HH:mm:ss');
> echo $zd->get('-MM-dd