Election day is not the first Tuesday in November
Anthony DeRobertis <[email protected]> Thu, 17 Nov 2005 16:35:17 -0500
| Newsgroups | gmane.comp.gnu.bayonne.devel |
|---|---|
| Organization | Customer Relationship Metrics |
| Message-ID | <[email protected]> |
>From bayonne.sched:
# us_election_day - observed on the first Tuesday in November
>From server/scheduler.cpp:
else if(!stricmp(day, "us_election_day"))
{
// Election Day
// observed on the first Tuesday in November
if(dt->tm_mon == 10 && dt->tm_wday == 2 && dt->tm_mday >= 1 && dt->tm_mday <= 7)
dayflag = 40000;
}
Both of these are wrong; election day is the first Tuesday in
November /after the first Monday/. That's why election day was November
8th this year, not November 1.