Thursday, December 02, 2004

Calendar Geekyness

While looking through the documentation for a software package, I found a rather long-winded description of how it handles dates. Which highlighted this; compare the following:



[burt@lucre burt]$ cal 12 2004
December 2004
Su Mo Tu We Th Fr Sa
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31

[burt@lucre burt]$ cal 9 1752
September 1752
Su Mo Tu We Th Fr Sa
1 2 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30



This got me thinking... Obviously, this is from when the calendars changed in 1752, but I just thought that it was neat that it was properly handled. Annoyingly, I couldn't even get windows calendar to show me a date before 1980, and Outlook would happily display me the whole of September 1752 without any missing days. I guess this is a bug meaning that all of Outlook's calendar is wrong by two weeks :)


No comments: