Date: Sat, 1 Jan 2000 11:34:56 -0500 (EST) From: Howard Goldstein <hgoldste@mpcs.com> To: freebsd-stable@freebsd.org Subject: date +%G still thinks it's 1999? Message-ID: <14446.11440.328151.913890@penny.n2wx.ampr.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?14446.11440.328151.913890>