PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Date and Time » Date_Holidays » Bug #6729

Veteran's Day wrong

Details

Submitted2006-02-08 16:58 UTC
Fromseth at pricepages dot org
Assignedluckec
StatusClosed
PackageDate_Holidays
PHP VersionIrrelevant
OSMac
Roadmaps(Not assigned)

Comments

[2006-02-08 16:58 UTC] seth at pricepages dot org

Description:
------------
Veteran's day is marked incorrectly in the calendar. It
looks like the code was copy-pasted, but someone forgot to
change most of it.

Here are the lines for Veteran's Day in Date/Holidays/
Driver/USA.php:
$columbusDay = $this->_calcNthMondayInMonth(11,2);
$this->_addHoliday('veteransDay',$columbusDay,'Veteran\'s
Day');

(Which looks suspiciously like Columbus Day...)

Veteran's Day should be the 11th day in November.

While I'm here, I'll mention that the Christmas Day variable
is $tday, which is a little odd... Maybe $cday would be more
appropriate, but no harm done.

[2006-02-13 02:25 UTC] seth at pricepages dot org

Veteran's Day should be the 11th day in Nov, but you have it
placed at the 2nd monday at Nov.

http://en.wikipedia.org/wiki/Veterans_Day