Date: Fri, 07 Jan 2000 12:22:23 -0600 From: "G. Adam Stanislav" <adam@whizkidtech.net> To: Alexander Langer <alex@big.endian.de>, hackers@FreeBSD.ORG Subject: Re: mktime(3) and strange struct tm entries Message-ID: <3.0.6.32.20000107122223.009ab930@mail85.pair.com> In-Reply-To: <19991231171423.A4219@cichlids.cichlids.com>
next in thread | previous in thread | raw e-mail | index | archive | help
At 17:14 31-12-1999 +0100, Alexander Langer wrote: >mktime(3) with this tm returns the date 1 Dezember. > >Does POSIX want this? >Does anyone have the specs and could take a look? >Or is this a bug? Says POSIX Programmer's Guide, by Donald Lewine: "The mktime() function is not required to reject invalid dates. For example, November 55th may be equivalent to December 25th." Does that answer your questions? Cheers, Adam To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3.0.6.32.20000107122223.009ab930>