Bug #63047 [Csd->Nab]: Easter date is wrong

From: Date: Sun, 09 Sep 2012 17:01:46 +0000
Subject: Bug #63047 [Csd->Nab]: Easter date is wrong
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-173282@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=63047&edit=1 ID: 63047 Updated by: rasmus@php.net Reported by: aschenaz at gmail dot com Summary: Easter date is wrong -Status: Closed +Status: Not a bug Type: Bug Package: Calendar related Operating System: Linux PHP Version: 5.4.6 Block user comment: N Private report: N Previous Comments: ------------------------------------------------------------------------ [2012-09-09 11:55:18] aschenaz at gmail dot com It was my fault. With the last upgrade of php, php.ini (with a timezone set) was been overwritten and now it had no timezone. I beg your pardon. ------------------------------------------------------------------------ [2012-09-09 09:46:59] aschenaz at gmail dot com Description: ------------ Asking for Easter date function, it will result Apr-07-2012, but it should be Apr-08-2012! That is important for liturgic year calculations. Test script: --------------- <?php echo date("M-d-Y", easter_date()); ?> Expected result: ---------------- Apr-08-2012 Actual result: -------------- Apr-07-2012 ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=63047&edit=1

« previous php.bugs (#173282) next »