[1.0.8] Possible bug in CDateTimeParser::parse ??

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

Strange. My Windows PHP works with the infos you posted;

Strange indeed.

After further investigation, i noticed that it works normally when not loading php_apc.dll. When it is loaded, the result is good the first time the function is used (after a server restart or a source file change) but always false after that.

Would it be a bug in the apc mechanism ?