From owner-cvs-all Thu May 13 17:28:47 1999 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id C98BD14FFB; Thu, 13 May 1999 17:28:44 -0700 (PDT) (envelope-from jmg@FreeBSD.org) Received: (from jmg@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id RAA75315; Thu, 13 May 1999 17:28:44 -0700 (PDT) (envelope-from jmg@FreeBSD.org) Message-Id: <199905140028.RAA75315@freefall.freebsd.org> From: John-Mark Gurney Date: Thu, 13 May 1999 17:28:44 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/bin/date date.1 date.c Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk jmg 1999/05/13 17:28:44 PDT Modified files: bin/date date.1 date.c Log: the month and three days are up for -hackers and the 24hrs for -committers. add a -j flag that tells date not to try to set the date. This allows you to use date as a userland interface to strptime. example: TZ=GMT date -j -f "%a, %d %b %Y %T %Z" "Sun, 08 Nov 1998 02:22:20 GMT" +%s which is the standard format for Last-modified headers in HTTP requests. only one to respond: eivind Revision Changes Path 1.29 +8 -2 src/bin/date/date.1 1.28 +26 -18 src/bin/date/date.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message