Date: Sat, 01 Jan 2000 11:40:58 -0500 (EST) From: Vince Vielhaber <vev@michvhf.com> To: hgoldste@bbs.mpcs.com Cc: freebsd-stable@freebsd.org Subject: RE: date +%G still thinks it's 1999? Message-ID: <XFMail.000101114058.vev@michvhf.com> In-Reply-To: <14446.11440.328151.913890@penny.n2wx.ampr.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.000101114058.vev>