Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 May 1999 17:28:44 -0700 (PDT)
From:      John-Mark Gurney <jmg@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/bin/date date.1 date.c
Message-ID:  <199905140028.RAA75315@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199905140028.RAA75315>