#40213 [Opn->Sus]: easter_date() returns wrong timestamp if ...
| From: | tony2001@php.net | Date: | Tue, 06 Mar 2007 19:21:15 +0000 |
| Subject: | #40213 [Opn->Sus]: easter_date() returns wrong timestamp if ... | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-110012@lists.php.net to get a copy of this message | ||
ID: 40213
Updated by: tony2001@php.net
Reported By: oliver dot block at lycos dot de
-Status: Open
+Status: Suspended
Bug Type: Calendar related
Operating System: Linux
PHP Version: 5.2.1RC3
Previous Comments:
------------------------------------------------------------------------
[2007-03-06 19:10:51] oliver dot block at lycos dot de
But it saves a lot of time and work. - I've feared that it may not
convince you.:)
------------------------------------------------------------------------
[2007-03-06 12:11:37] tony2001@php.net
Naaah, calling mktime() with call_user_function() is just a hack, not a
solution.
I've said we probably need to rewrite it from scratch and merge it into
ext/date to use ext/date _internal_ functions directly, not through the
user API.
------------------------------------------------------------------------
[2007-01-29 22:03:11] oliver dot block at lycos dot de
I modified some of the testfiles from the former archives, because of
wrong test results. It happens that easter date and DST shift occur on
the same day. If so, date('Y-m-d H:i:s', easter_date($year)) will
return a time portion of 01:00:00 and not 00:00:00
You find the archive here:
http://www.block-online.eu/phptests/tests_easter_date.tar.gz
------------------------------------------------------------------------
[2007-01-25 21:04:02] oliver dot block at lycos dot de
You will find the diff file here now:
http://mitglied.lycos.de/oblock/php/easter.c.diff.gz
------------------------------------------------------------------------
[2007-01-25 20:20:22] bjori@php.net
404 not found..
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/40213
--
Edit this bug report at http://bugs.php.net/?id=40213&edit=1