Hello,
I developped a web application using Yii on a Linux platform (Apache + PHP 5.2.10) and am now trying to have it to work on a winXP machine (Apache + PHP 5.2.10, same php.ini). Everything seems to work as on Linux but the validation of the dates in the forms… I’m using the standard type validator and obtain different results :
Linux : CDateTimeParser::parse(‘10/10/2000’,‘dd/MM/yyyy’) == true
Windows : CDateTimeParser::parse(‘10/10/2000’,‘dd/MM/yyyy’) == false (actually, i haven’t figured any date format that would make it return true)
Did I miss something ? Is the result of this function relative to some system settings I don’t know about ?
Thanks in advance for your help
Squatrem