From owner-freebsd-stable Sat Jan 1 8:35: 2 2000 Delivered-To: freebsd-stable@freebsd.org Received: from cc1017255-a.srst1.fl.home.com (cc1017255-a.srst1.fl.home.com [24.3.122.197]) by hub.freebsd.org (Postfix) with ESMTP id 247B914CB5 for ; Sat, 1 Jan 2000 08:34:58 -0800 (PST) (envelope-from hg@n2wx.ampr.org) Received: from penny.n2wx.ampr.org (penny [172.16.0.5]) by cc1017255-a.srst1.fl.home.com (Postfix) with ESMTP id 2BA2A1E5A for ; Sat, 1 Jan 2000 11:34:57 -0500 (EST) Received: by penny.n2wx.ampr.org (Postfix, from userid 1000) id A670F111; Sat, 1 Jan 2000 11:34:56 -0500 (EST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14446.11440.328151.913890@penny.n2wx.ampr.org> Date: Sat, 1 Jan 2000 11:34:56 -0500 (EST) From: Howard Goldstein To: freebsd-stable@freebsd.org Subject: date +%G still thinks it's 1999? Reply-To: hgoldste@bbs.mpcs.com X-Mailer: VM 6.72 under XEmacs Lucid Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 FWIW: cally:/usr/src/bin/date$ ident *c date.c: $FreeBSD: src/bin/date/date.c,v 1.26.2.4 1999/12/15 13:57:04 sheldonh Exp $ netdate.c: $FreeBSD: src/bin/date/netdate.c,v 1.10.2.1 1999/08/29 14:12:04 peter Exp $ vary.c: $FreeBSD: src/bin/date/vary.c,v 1.4.2.2 1999/08/29 14:12:05 peter Exp $ cally:/usr/src/bin/date$ ident /usr/src/lib/libc/stdtime/strftime.c /usr/src/lib/libc/stdtime/strftime.c: $FreeBSD: src/lib/libc/stdtime/strftime.c,v 1.20.2.2 1999/12/10 11:00:47 sheldonh Exp $ cally:/usr/src/bin/date$ uname -a FreeBSD cally.south.mpcs.com 3.4-STABLE FreeBSD 3.4-STABLE #1: Sat Dec 25 10:50:54 EST 1999 root@cally.south.mpcs.com:/usr/src/sys/compile/CALLY i386 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message