[dev] problem report with sbase/cal

From: Greg Reagle <greg.reagle_AT_umbc.edu>
Date: Tue, 23 Dec 2014 11:55:35 -0500

Greetings. I was born well after the year -7, so I don't know if there
were any calendar shenanigans going on that long ago, but it looks like
an error:

greagle_AT_530GA ~/D/p/sbase> ./cal -3 1 -7
    January -7 February -7 March -7
Su Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa
 1 2 3 4 5 6 7 1 2 3 4 5 6 1 2 3 4 5
 8 9 10 11 12 13 14 7 8 9 10 11 12 13 6 7 8 9 10 11 12
15 16 17 18 19 20 21 14 15 16 17 18 19 20 13 14 15 16 17 18 19
22 23 24 25 26 27 28 21 22 23 24 25 26 27 20 21 22 23 24 25 26
29 30 31 28 27 28 29 30 31

Note that Monday (Feb. 1) follows Tuesday (Jan. 31) and that Tuesday
(Mar. 7) follows Sunday (Feb. 28). I cannot compare it to the cal
installed on my computer (util-linux) because it only deals with
positive years.

As I mentioned earlier, I am re-writing cal for my fun and my education,
and now it is ready for its debut. I'll introduce it in another
message. My re-write does not have this problem.

-- 
http://www.fastmail.com - mmm... Fastmail...
Received on Tue Dec 23 2014 - 17:55:35 CET

This archive was generated by hypermail 2.3.0 : Tue Dec 23 2014 - 18:00:09 CET