Date: Mon, 21 Jan 2008 17:50:01 GMT From: Valentin Nechayev <netch@lucky.net> To: freebsd-bugs@FreeBSD.org Subject: Re: bin/119862: Incorrect mktime() work Message-ID: <200801211750.m0LHo1oQ082150@freefall.freebsd.org>
index | next in thread | raw e-mail
The following reply was made to PR bin/119862; it has been noted by GNATS.
From: Valentin Nechayev <netch@lucky.net>
To: "Dmitrij N.Babin" <was.drum@gmail.com>
Cc: freebsd-gnats-submit@freebsd.org
Subject: Re: bin/119862: Incorrect mktime() work
Date: Mon, 21 Jan 2008 19:22:24 +0200
Mon, Jan 21, 2008 at 15:26:43, was.drum wrote about "bin/119862: Incorrect mktime() work":
> tf.tm_mon=2; /* February */
Pilot error: tm_mon=2 means March, not February.
Please read manuals carefully:)) (Yes, this API is confusing)
P.S.
const char *month_names[] = { "Nullember", "January", "February", "March",... }
-netch-
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200801211750.m0LHo1oQ082150>
