php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #63047 Easter date is wrong
Submitted: 2012-09-09 09:46 UTC Modified: 2012-09-09 17:01 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: aschenaz at gmail dot com Assigned:
Status: Not a bug Package: Calendar related
PHP Version: 5.4.6 OS: Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
32 + 48 = ?
Subscribe to this entry?

 
 [2012-09-09 09:46 UTC] 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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-09-09 11:55 UTC] 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 11:55 UTC] aschenaz at gmail dot com
-Status: Open +Status: Closed
 [2012-09-09 17:01 UTC] rasmus@php.net
-Status: Closed +Status: Not a bug
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 00:01:29 2024 UTC