ID:               15540
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 Status:           Bogus
 Bug Type:         Scripting Engine problem
 Operating System: winNT
 PHP Version:      4.1.1
 New Comment:

>[13 Feb 9:34am] [EMAIL PROTECTED]
>daylight saving time
Quite true ! it's not a bug finally !


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

[2002-02-13 09:34:05] [EMAIL PROTECTED]

daylight saving time

------------------------------------------------------------------------

[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