From: [EMAIL PROTECTED]
Operating system: winNT
PHP version: 4.1.1
PHP Bug Type: Scripting Engine problem
Bug description: erreo in date calculation with easter_date() for 2002
the result of :
---------
<?
print "easter in 2002 : ";
print date("m/d/Y H:i:s", easter_date(2002));
print "<br>easter monday : ";
print date("m/d/Y H:i:s", easter_date(2002)+(1*3600*24));
print "<br>easter in 2001 : ";
print date("m/d/Y H:i:s", easter_date(2001));
print "<br>easter monday : ";
print date("m/d/Y H:i:s", easter_date(2001)+(1*3600*24));
print "<br>";
?>
---------
gives :
---------
easter in 2002 : 03/31/2002 00:00:00
easter monday : 04/01/2002 01:00:00
easter in 2001 : 04/15/2001 00:00:00
easter monday : 04/16/2001 00:00:00
---------
as if in 2002 the easter day is only of 23 hours...
--
Edit bug report at http://bugs.php.net/?id=15540&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=15540&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=15540&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=15540&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=15540&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=15540&r=support
Expected behavior: http://bugs.php.net/fix.php?id=15540&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=15540&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=15540&r=submittedtwice