Bug #68909 [NEW]: function easter_date() not correct 1970-1989 years

From: Date: Sun, 25 Jan 2015 10:32:24 +0000
Subject: Bug #68909 [NEW]: function easter_date() not correct 1970-1989 years
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-190208@lists.php.net to get a copy of this message
From:             andris dot petrams at gmail dot com
Operating system: any
PHP version:      Irrelevant
Package:          Calendar related
Bug Type:         Bug
Bug description:function easter_date() not correct 1970-1989 years

Description:
------------
---
From manual page: http://www.php.net/function.easter-date
---
easter_date(1970); return Mar-28-1970 (Saturday) is not Easter Day

Test script:
---------------
<?php echo date("M-d-Y (l)", easter_date(1970)); ?>

Actual result:
--------------
easter_date(); 1970-1989 return:
Apr-10-1971 (Saturday)
Apr-01-1972 (Saturday)
Apr-21-1973 (Saturday)
Apr-13-1974 (Saturday)
Mar-29-1975 (Saturday)
Apr-17-1976 (Saturday)
Apr-09-1977 (Saturday)
Mar-25-1978 (Saturday)
Apr-14-1979 (Saturday)
Apr-05-1980 (Saturday)
Apr-18-1981 (Saturday)
Apr-10-1982 (Saturday)
Apr-02-1983 (Saturday)
Apr-21-1984 (Saturday)
Apr-06-1985 (Saturday)
Mar-29-1986 (Saturday)
Apr-18-1987 (Saturday)
Apr-02-1988 (Saturday)
Mar-25-1989 (Saturday)

-- 
Edit bug report at https://bugs.php.net/bug.php?id=68909&edit=1
-- 
Try a snapshot (PHP 5.4):   https://bugs.php.net/fix.php?id=68909&r=trysnapshot54
Try a snapshot (PHP 5.5):   https://bugs.php.net/fix.php?id=68909&r=trysnapshot55
Try a snapshot (trunk):     https://bugs.php.net/fix.php?id=68909&r=trysnapshottrunk
Fixed in SVN:               https://bugs.php.net/fix.php?id=68909&r=fixed
Fixed in release:           https://bugs.php.net/fix.php?id=68909&r=alreadyfixed
Need backtrace:             https://bugs.php.net/fix.php?id=68909&r=needtrace
Need Reproduce Script:      https://bugs.php.net/fix.php?id=68909&r=needscript
Try newer version:          https://bugs.php.net/fix.php?id=68909&r=oldversion
Not developer issue:        https://bugs.php.net/fix.php?id=68909&r=support
Expected behavior:          https://bugs.php.net/fix.php?id=68909&r=notwrong
Not enough info:            https://bugs.php.net/fix.php?id=68909&r=notenoughinfo
Submitted twice:            https://bugs.php.net/fix.php?id=68909&r=submittedtwice
register_globals:           https://bugs.php.net/fix.php?id=68909&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=68909&r=php4
Daylight Savings:           https://bugs.php.net/fix.php?id=68909&r=dst
IIS Stability:              https://bugs.php.net/fix.php?id=68909&r=isapi
Install GNU Sed:            https://bugs.php.net/fix.php?id=68909&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=68909&r=float
No Zend Extensions:         https://bugs.php.net/fix.php?id=68909&r=nozend
MySQL Configuration Error:  https://bugs.php.net/fix.php?id=68909&r=mysqlcfg



Thread (8 messages)

« previous php.bugs (#190208) next »