From owner-freebsd-hackers Tue Nov 28 21:43:33 1995 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id VAA13129 for hackers-outgoing; Tue, 28 Nov 1995 21:43:33 -0800 Received: (from jkh@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id VAA13120 for hackers; Tue, 28 Nov 1995 21:43:31 -0800 Date: Tue, 28 Nov 1995 21:43:31 -0800 From: "Jordan K. Hubbard" Message-Id: <199511290543.VAA13120@freefall.freebsd.org> To: hackers Subject: Bug in stable/-current perl? Sender: owner-hackers@FreeBSD.ORG Precedence: bulk jkh@freefall-> date Tue Nov 28 21:42:48 PST 1995 jkh@freefall-> perl -e 'printf("%02.2d\n", (localtime())[3]);' 28 jkh@freefall-> perl -e 'printf("%02.2d\n", (localtime())[4]);' 10 jkh@freefall-> perl -e 'printf("%02.2d\n", (localtime())[5]);' 95 10? Am I misunderstanding something fundamental about perl's localtime() call, or should this be an "11"? Jordan