How widespread is this time-conversion bug?

Joseph S. Myers jsm28 at
Sat Feb 6 23:03:20 UTC 1999

On 6 Feb 1999, D. J. Bernstein wrote:

> Dennis Ritchie reported on comp.lang.c.moderated that Plan 9's gmtime()
> didn't believe that 2000 was a leap year. The problem is that it was
> working with tm_year instead of tm_year + 1900.

FWIW BSD pom(6) (phase-of-Moon) had the same problem until I reported it
last July (now fixed in {Net,Open,Free}BSD).

Joseph S. Myers
jsm28 at

More information about the tz mailing list