Re: It it now a leap year?

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

 



Steve Searle wrote:
> Around 01:57am on Thursday, August 09, 2007 (UK time), Karl Larsen scrawled:
> 
>> 	glad you like it. The cal program is VERY powerful.
> 
> Cal is indeed excellent, even showing that the rules defined for leap
> years earlier in this thread are not correct.  If it was as simple as
> divisible by 100 but not divisible by 400 = not leap year then:
> 
> cal 2 1500
> 
> should not show February having 29 days, which it does.
> 
> To get a clue as to why this is correct, try
> 
> cal 9 1752

Which calendar are you expecting for these dates?  Julian or Gregorian?
 Didn't Pope Gregory fixed the calendar (thus it bears his name), but it
wasn't used consistently worldwide until some time in the 18th century.
There is even some question as to whether George Washington's Feb 22
birth date was a Julian date or Gregorian date and he was clearly born
in the 1700's.  It looks like "cal" switches from Julian dates to
Gregorian dates after 9/2/1752.  From the cal man page:

>      The Gregorian Reformation is assumed to have occurred in 1752 on the 3rd of September.  By this time, most countries had recognized the
>      reformation (although a few did not recognize it until the early 1900’s.)  Ten days following that date were eliminated by the reforma-
>      tion, so the calendar for that month is a bit unusual.

-- 
Kevin J. Cummings
kjchome@xxxxxxx
cummings@xxxxxxxxxxxxxxxxxx
cummings@xxxxxxxxxxxxxxxxxxxxxxx
Registered Linux User #1232 (http://counter.li.org)

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux