[10470] in Athena Bugs

home help back first fref pref prev next nref lref last post

[daemon@MIT.EDU : cal]

daemon@ATHENA.MIT.EDU (Richard Basch)
Mon Apr 26 23:41:19 1993

Date: Mon, 26 Apr 1993 23:41:16 -0400
To: onga@MIT.EDU
Cc: bugs@MIT.EDU
In-Reply-To: bugs[10469]
From: "Richard Basch" <basch@MIT.EDU>


Actually, the rule is not what you stated; I believe it is:
- Every 4 years is a leap year
- Every 100 years is not
- Every 400 years is

I'll look it up to be sure that the above rule is correct, but I do
remember 2000 is a leap year.

-Richard

------- Forwarded transaction

[10469]  daemon@ATHENA.MIT.EDU (ongg@Athena.MIT.EDU) Athena Bugs 04/26/93 22:09 (19 lines)
Subject: cal
From: ongg@Athena.MIT.EDU
To: bugs@Athena.MIT.EDU
Date: Mon, 26 Apr 93 22:09:21 EDT

Hi, there is a bug with the cal program.  
If a year is divisible by 400, then it should not be a leap year.
2000, however, is a leap year according to cal 
cal 2 2000

will show 29 days.

It should be fixed at least within the next 8 years.  Just pointing it out
in case someone else doesn't :)
-----------------------------------------------------------------------------
"Let the past hold on to itself and let the    | Jay Ongg
 present move forward into the future"         | ongg@athena.mit.edu
-Douglas Adams, _Mostly_Harmless_              | MIT '96
					       |
"Just lay back and let the chips fall into the integrated circuit..."
--[10469]--

------- End forwarded transaction

home help back first fref pref prev next nref lref last post