From: "Mark J. Reed" Date: 2004-07-28T06:31:53+09:00 Subject: Re: Is this a bug in Time.local? "Richard A. Ryan" writes: >Hi, >Thanks for the reply. If the consistency of the treatment of yday >with mktime means it's not a bug Well, the fact that it's documented means it's not a bug . . >, then why wouldn't the inconsistency with mktime's autonormalization feature >be a bug? I didn't say it wasn't. :) Actually, I think that the 10-argument form of Time.local/mktime is deprecated. You should really be using the 1-to-8 argument forms, which have no wday or yday fields at all: Time.mktime(year[, month[, day[, hour[, min[, sec[, msec[, zone]]]]]]]) I agree that there ought to be a normalizing form of these methods. For instance, the Perl Time::Local module includes timelocal_nocheck and timegm_nocheck to serve that purpose. -Mark