diff options
| author | uwe <uwe@NetBSD.org> | 2010-11-19 03:31:24 +0000 |
|---|---|---|
| committer | uwe <uwe@NetBSD.org> | 2010-11-19 03:31:24 +0000 |
| commit | 5bb781f731a809abd85204f70504ed03754a6faf (patch) | |
| tree | b3367b23f15209f61502d3c9663afe4c04f81e89 /sys/dev | |
| parent | b0f3f04a6770d277026a73ff23e23da5bf2a4e1f (diff) | |
Correct definition of leap year. Make yeartonum and numtoyear use
full years so that year 2000 is correctly counted as a leap year.
Now NetBSD under SIMH picks up correct time-of-day clock value. It
used to be a day behind, since 2000 - 1900 = 100 and naive leap year
test wouldn't count it as a leap year.
Diffstat (limited to 'sys/dev')
0 files changed, 0 insertions, 0 deletions
