note 103809 rejected from function.easter-date by danbrown

From: Date: Wed, 04 May 2011 17:15:30 +0000
Subject: note 103809 rejected from function.easter-date by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-179427@lists.php.net to get a copy of this message
Note Submitter: sem dot radi at gmail dot com ---- Bug in function easter_date on php 5.3.5. If you try something like this: print(date("M-d-Y", easter_date(2011))); your result will be "Apr-23-2011" and that's wrong. I try this function with another year and a get also wrong result. This function subtract 1 day like in this case above (Apr-24-2011)

« previous php.notes (#179427) next »