1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-20 11:11:24 +00:00
freebsd/bin/date
John-Mark Gurney 3bc1b1bb27 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
1999-05-14 00:28:41 +00:00
..
date.1 the month and three days are up for -hackers and the 24hrs for -committers. 1999-05-14 00:28:41 +00:00
date.c the month and three days are up for -hackers and the 24hrs for -committers. 1999-05-14 00:28:41 +00:00
extern.h
Makefile Don't put compiler warning flags in leaf Makefiles. 1998-12-07 12:50:48 +00:00
netdate.c Restore Lite-2 sccsid. Restore include of sys/param.h. 1998-05-13 07:31:42 +00:00
vary.c First set of fixes to keep egcs happy. These include {} around single 1999-04-25 21:13:34 +00:00
vary.h Add (BSD) copyright headers. 1997-12-21 12:11:13 +00:00