Re: [PHP-DEV] Re: idate problems

2004-06-28 Thread Nuno Lopes
Thanks Derick! > On Mon, 28 Jun 2004, Nuno Lopes wrote: > > > Any news on this? > > Can someone apply that patch or just add some () to the idate switch/case L > > ? > > Done > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php --

Re: [PHP-DEV] Re: idate problems

2004-06-28 Thread Derick Rethans
On Mon, 28 Jun 2004, Nuno Lopes wrote: > Any news on this? > Can someone apply that patch or just add some () to the idate switch/case L > ? Done -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Re: idate problems

2004-06-28 Thread Nuno Lopes
Any news on this? Can someone apply that patch or just add some () to the idate switch/case L ? Thanks, Nuno - Original Message - > Nuno Lopes wrote: > > 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'); /

[PHP-DEV] Re: idate problems

2004-06-24 Thread Christian Schneider
Nuno Lopes wrote: 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 Yes, this is indeed a bug in the isleap macro (you needed to call it with double parens), the fix is diff -u -r1.120 datetime.c --