>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.
_______________________________________________
Bayonne-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bayonne-devel