From owner-freebsd-bugs Mon Oct 25 9:20: 4 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id D342C14C1E for ; Mon, 25 Oct 1999 09:20:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id JAA68775; Mon, 25 Oct 1999 09:20:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Mon, 25 Oct 1999 09:20:01 -0700 (PDT) Message-Id: <199910251620.JAA68775@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: jin@george.lbl.gov Subject: Re: bin/14472: date for Y#K Reply-To: jin@george.lbl.gov Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/14472; it has been noted by GNATS. From: jin@george.lbl.gov To: sheldonh@uunet.co.za Cc: FreeBSD-gnats-submit@FreeBSD.ORG Subject: Re: bin/14472: date for Y#K Date: Mon, 25 Oct 1999 09:12:37 -0700 (PDT) Thanks, the patch works. > > # date 199910221913.15 > > date: illegal time format > > The following patch should give you what you want. Note that you can > only specify 4-digit years within the range 1902-2037. I tried to tracing downto the time2 in /usr/src/lib/libc/stdtime/localtime.c but had no clue how it works. That is, I could not find how the 2037 is set. Any idea how we can fix this limitation? Thanks, -Jin > Ciao, > Sheldon. > > Index: date.c > =================================================================== To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message