On Sun, Oct 08, 2006 at 06:29:24PM +0100, Ted Harding wrote:
I was prompted to investigate by catching someone referring to the Julian->Gregorian transition on the radio this morning.
I've known about 'cal' since 1984, and about its respect for the transition (documented in 'man cal').
Aaaah, that explains it then, you had me worried that someone could be a Unix user for over 20 years and not know about cal!
The FreeBSD version of 'cal', or rather its new version 'ncal', is more sophisticated that the standard Linux version, in that it has extra options, including "-s":
Hmmmn, appears that the version of cal (and I've got ncal too) on my Ubuntu and Debian boxen are the BSD version and that the GNU version of cal is called gcal. If I was really bored then I'd grab the source code for the Gnome clock and work out why it is wrong, but I think i'll leave that until another day ;)
Adam