From owner-freebsd-stable Sat Jan 1 8:41: 4 2000 Delivered-To: freebsd-stable@freebsd.org Received: from paprika.michvhf.com (paprika.michvhf.com [209.57.60.12]) by hub.freebsd.org (Postfix) with SMTP id 4382414D5F for ; Sat, 1 Jan 2000 08:41:01 -0800 (PST) (envelope-from vev@michvhf.com) Received: (qmail 562 invoked by uid 1001); 1 Jan 2000 16:40:58 -0000 Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <14446.11440.328151.913890@penny.n2wx.ampr.org> Date: Sat, 01 Jan 2000 11:40:58 -0500 (EST) X-Face: *0^4Iw) To: hgoldste@bbs.mpcs.com Subject: RE: date +%G still thinks it's 1999? Cc: freebsd-stable@freebsd.org Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 01-Jan-00 Howard Goldstein wrote: > > I'm not sure what I'm doing wrong here :( > > cally:/usr/src/bin/date$ date -u > Sat Jan 1 16:22:45 GMT 2000 > cally:/usr/src/bin/date$ date -u '+%a, %d %b %G %H:%M:%S GMT' > Sat, 01 Jan 1999 16:23:01 GMT > cally:/usr/src/bin/date$ date -u '+%G' > 1999 > > If something's broken it doesn't look like it's going to stay broken > for long: > > cally:/usr/src/lib/libc/stdtime$ date -v2d -u '+%a, %d %b %G %H:%M:%S GMT' > Sun, 02 Jan 1999 16:33:12 GMT > cally:/usr/src/lib/libc/stdtime$ date -v3d -u '+%a, %d %b %G %H:%M:%S GMT' > Mon, 03 Jan 2000 16:33:17 GMT %g is also broken. $ date -u '+%g' 99 $ Vince. -- ========================================================================== Vince Vielhaber -- KA8CSH email: vev@michvhf.com http://www.pop4.net 128K ISDN: $24.95/mo or less - 56K Dialup: $17.95/mo or less at Pop4 Online Campground Directory http://www.camping-usa.com Online Giftshop Superstore http://www.cloudninegifts.com ========================================================================== To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message