idate problems

From: Date: Thu, 24 Jun 2004 10:16:27 +0000
Subject: idate problems
Groups: php.internals 
Request: Send a blank email to internals+get-10750@lists.php.net to get a copy of this message
Hello, I've already reported this to the list some time ago, but nobody answered me until now. I think that the idate function has two little problems: 1) (i)date('L') should return the same (1 if is leap year, 0 otherwise), but they aren't outputing the same echo date('L'); //1 echo idate('L'); //0 2) idate('y') is supposed to return the year with *two*digits, althought it returns just 4. This can be fixed with a simple sprintf? Can somebody look at this, please? Thanks, Nuno

« previous php.internals (#10750) next »