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

From: Date: Sun, 09 Sep 2012 11:55:18 +0000
Subject: Bug #63047 [Opn->Csd]: Easter date is wrong
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-173277@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 User updated by: aschenaz at gmail dot com Reported by: aschenaz at gmail dot com Summary: Easter date is wrong -Status: Open +Status: Closed Type: Bug Package: Calendar related Operating System: Linux PHP Version: 5.4.6 Block user comment: N Private report: N New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [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 (#173277) next »