ID:               15540
 Updated by:       [EMAIL PROTECTED]
-Summary:          erreo in date calculation with easter_date() for 2002
 Reported By:      [EMAIL PROTECTED]
 Status:           Open
 Bug Type:         Scripting Engine problem
 Operating System: winNT
 PHP Version:      4.1.1


Previous Comments:
------------------------------------------------------------------------

[2002-02-13 08:44:12] [EMAIL PROTECTED]

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 this bug report at http://bugs.php.net/?id=15540&edit=1

Reply via email to