Month 53 bug?
Theo de Raadt
deraadt at cvs.openbsd.org
Tue Dec 30 23:05:14 UTC 1997
Hmm, interesting problem.
It is possible that some of these systems have an old timezone
library. And it is possible that our man page is wrong. Or that our
code is wrong, since we don't have the very very latest version of the
timezone code (we are about a year out of date with respect to the
timezone code, but a cursory examination shows that not much has
changed, and we've fixed a few bugs ourselves).
> nor more days in the new year, then it is week 1. This week gives:
> Thursday (1/1), Friday (2/1), Sat (3/1), Sun (4/1) = 4 days in the new year.
Wait, isn't Sunday the first day of the next week? Then it's 3 days
in the next week. Ie, look at this:
October November December
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 1 1 2 3 4 5 6
5 6 7 8 9 10 11 2 3 4 5 6 7 8 7 8 9 10 11 12 13
12 13 14 15 16 17 18 9 10 11 12 13 14 15 14 15 16 17 18 19 20
19 20 21 22 23 24 25 16 17 18 19 20 21 22 21 22 23 24 25 26 27
26 27 28 29 30 31 23 24 25 26 27 28 29 28 29 30 31
30
See?
So I think we are right:
I think SunOS 5.5 had it wrong,
Linux has it wrong,
and both SunOS 5.5.1 and OpenBSD 2.2 get it right.
Do you now concur?
------------------------------------------------------------------------
I wrote back:
More information about the tz
mailing list