]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
the month and three days are up for -hackers and the 24hrs for -committers.
authorJohn-Mark Gurney <jmg@FreeBSD.org>
Fri, 14 May 1999 00:28:41 +0000 (00:28 +0000)
committerJohn-Mark Gurney <jmg@FreeBSD.org>
Fri, 14 May 1999 00:28:41 +0000 (00:28 +0000)
commit3bc1b1bb27445146121dece6c6548093d1eb867a
treef27ca9eb2add747c0253e34d7ac9b59b8a6c4df7
parentfb212aff1574511ba6de3663bfc111acf38032a5
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
bin/date/date.1
bin/date/date.c