RE: [PHP-DEV] Bug #1502: New code for calculating Easter date?

From: Date: Mon, 07 Jun 1999 21:05:11 +0000
Subject: RE: [PHP-DEV] Bug #1502: New code for calculating Easter date?
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-6673@lists.php.net to get a copy of this message
> > I've kind of wondered myself why this was added as an internal PHP > > function? Maybe it would be useful in a calendar program, but outside of > > that I don't see its use. > > Yeah, I'm not big on this being an internal PHP function either. I > haven't really been following the lists for the past couple of days, but I > thought I saw Jim saying that he didn't think it should go in the main php > distribution. As the author of said functions, I don't care whether they stay or go. I do recognize that there are many ways to calculate when Easter is supposed to be, and I used what I thought was the most comprehensive formula I could find. I tested it against several "When is easter?" websites, and my functions seem to agree with all of them. I too remember Jim saying he didn't they should stay, which I took to mean that they were going to be removed. But apparently they are still in. So I'd say, either a) take them out of the core and someone can stick them in the calendar.so or some other file, b) leave them in and point out to people how it works (I thought I made the docs pretty comprehensive, but I can cut and paste the actual code into them), or c) someone can send me other formulas, and we can add a flag to determine which formula to use to calculate the date. But, like I said, I don't really care. It was mainly done on a whim, and I have no burning desire for them (no pun intended). - colin

« previous php.dev (#6673) next »