bayonne-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bayonne-devel] Election day is not the first Tuesday in November


From: Anthony DeRobertis
Subject: [Bayonne-devel] Election day is not the first Tuesday in November
Date: Thu, 17 Nov 2005 16:35:17 -0500

>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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]