dd
8b00b636d6
Make it clear that the -v option doesn't actually set the date.
...
PR: 24773
Approved by: nik
2001-03-16 02:20:24 +00:00
ben
00a7cb7324
Document the restrictions on changing times in high securelevels.
...
PR: 23502
Submitted by: Robert Boyd <rboyd@pokerspot.com>
2001-01-17 21:27:54 +00:00
ru
7d4677ab07
Prepare for mdoc(7)NG.
2000-12-19 15:30:26 +00:00
ru
d4cb36bcfe
Prepare for mdoc(7)NG.
2000-12-15 17:37:31 +00:00
ru
be1f850a8f
mdoc(7) police: use the new features of the Nm macro.
2000-11-20 11:39:41 +00:00
jwd
bbd3aeb6e1
Try to clean the manpage up according to the mail from Sheldon
...
in committers (Message-Id: <72836.964344168@axl.ops.uunet.co.za>).
Also cleaned up a .Pq macro which was causing problems previous
to the original update I made.
Reviewed by: sheldonh
Approved by: jkh
2000-07-28 02:51:43 +00:00
jwd
45c2f34531
Expand the -r option to support hex. Though undocumented, the -r
...
option already supported octal. Add a comment to the -r option
in the man page so it's a bit more specific.
Discrepancy brought to my attention by: sasdrq@unx.sas.com
Approved by: jkh
2000-07-22 22:08:39 +00:00
sheldonh
b76460656f
Fix one grammar problem which crept in from rev 1.40 to rev 1.42, and
...
one mdoc problem from rev 1.40 (unnecessarily populated Nm macro).
2000-07-18 12:02:15 +00:00
marko
38f39cae5a
Re-worded the description of the -r option
...
PR: 18792
Submitted by: Bob Johnson <bobj@atlantic.net>
Approved by: Alexander Langer <alex@freebsd.org>
2000-07-15 14:55:54 +00:00
alex
30480c8cb5
Now, the mdoc fixes, such as:
...
* remove hard sentence breaks
* use of Fl with Ar if argument available
* Dq -> Sq where better
* Ql -> Dq and Ql -> Fa where better
* include sections to Xr macro
* It Ar .ss -> It Ar ss
2000-07-14 15:49:36 +00:00
alex
7b1fd92a4d
As per request by sheldonh and others on IRC, seperate language and mdoc
...
fixes (very important in this case). Version 1.40 should be discarded.
This version includes the language diffs. To receive them, use
cvs diff [-u] -r 1.39 -r 1.41
2000-07-14 15:38:38 +00:00
alex
60096aed79
Fix several language, style and mdoc improvements (such as correct
...
usage of .Xr and removal of hard sentence breaks).
PR: 18880
Submitted by: Christian Weisgerber <naddy@unix-ag.uni-kl.de>
Obtained from: OpenBSD (in parts)
2000-07-14 14:18:04 +00:00
mpp
1bcd874077
Grumble. The previous commit still had the wrong date in the
...
example. Oct 29 0:30 +3 hours is still Oct 29, no matter what the
DST setting is, and not Oct 30..
2000-06-28 09:20:06 +00:00
mpp
e704e1d688
Typo fix.
...
PR: docs/19554
Submitted by: Kazuo Horikawa <horikawa@psinet.com>
2000-06-28 09:13:32 +00:00
brian
5f8304856e
Mention the timezone where appropriate (for the -v option).
...
correct one of the -v options.
2000-06-22 10:02:33 +00:00
dbaker
80efa7cbc3
Correct confusion and differentiate appropriately between GMT and UTC when
...
date is launched with the "u" argument. It now operates in the documented
manner.
Fix typo in date man page.
Submitted by: David McNett <nugget@slacker.com>
2000-05-19 18:02:25 +00:00
brian
0f8e1924fb
Change -v so that variences in units of days or less are sensitive to
...
DST. Explain in more detail what date -v does when mixed with DST.
Previous code suggested broken by: wollman
2000-04-12 13:35:17 +00:00
sheldonh
26931f649e
Correct confusing description of the -r option.
...
PR: 17250
Submitted by: cjclark@home.com (Crist J. Clark)
2000-03-07 20:54:17 +00:00
brian
ec66b7bf35
Fix various mandoc bugs
2000-01-12 00:29:16 +00:00
sheldonh
278d74a6af
Allow the year to be specified with an optional century.
...
PR: 14472
Reported by: j_guojun@lbl.gov (Jin Guojun)
1999-11-10 13:34:39 +00:00
peter
66312e4a8d
$Id$ -> $FreeBSD$
1999-08-27 23:15:48 +00:00
jkh
03b6089d20
Remove obsolete BUGS section which describes something which stopped
...
being relevant when we ripped out the BSD/VAX code.
Submitted by: Guy Harris <gharris@flashcom.net>
1999-08-25 14:38:58 +00:00
jmg
80ee25f437
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
kris
713dd62834
Various spelling/formatting changes.
...
Submitted by: Philippe Charnier <charnier@xp11.frmug.org>
1999-05-08 10:22:15 +00:00
brian
f5ccad82da
Support seconds with -v.
...
PR: 6308
Submitted by: Max Euston <meuston@jmrodgers.com>
1999-03-09 09:38:54 +00:00
danny
6ed0387d6b
Example "19%y" changed to "%Y" to discourage poor usage.
1999-01-13 07:01:07 +00:00
phk
4c734c0e4d
.Sh ENVIRONMENT VARIABLES -> .Sh ENVIRONMENT
...
PR: 6599
Reviewed by: phk
Submitted by: Josh Gilliam <josh@quick.net>
1998-05-13 07:57:49 +00:00
charnier
c4d26d7f83
Correct use of .Nm and other cosmetics. Add rcsid. Remove unused #inc.
1998-05-06 06:51:42 +00:00
rnordier
c3d6df4e03
Spelling/typo fixes: (preceeded, friday).
1998-04-20 21:06:38 +00:00
brian
757ccea1a9
Put [+format] at the end of the usage message.
...
Make `date -?' output (pretty much) the same as
the man page
PR: 5269
1997-12-11 02:38:56 +00:00
wosch
1568227e02
Change example from US to international standard date notation.
1997-10-03 18:09:17 +00:00
danny
724c03ee75
Back out suppress '\n' mod.
1997-10-03 12:54:30 +00:00
danny
9bb9e30596
Add the ability to supress the '\n' at the end of the date printed.
1997-10-01 05:24:08 +00:00
wosch
fde8a8ec46
spelling corrections.
...
PR: docs/4450
Submitted by: josh@quick.net
1997-09-13 16:01:53 +00:00
jmg
9a7e68ee3a
fix misspelling
...
Submitted-by: Josh Gilliam
Closes PR:4425
1997-08-30 11:06:35 +00:00
brian
be2b748c02
Hint at how to use TZ.
...
Submitted by: grog@lemis.com
1997-08-18 20:27:17 +00:00
brian
e2cda524da
Add "-f fmt date" for specification of the
...
date using strptime(3).
Suggested by: Michael Smith <msmith@atrad.adelaide.edu.au>
Change mm & dd to MM & DD so that they don't
clash with the month.
1997-08-10 16:36:59 +00:00
brian
4f0afc74e1
Change [-DMHW [+|-]val] to [-v [+|-]val[ymwdHM]]
...
Support Hours & Minutes
Add -Wall to Makefile
1997-08-09 22:34:06 +00:00
brian
fdc5ce4a45
Add [-DWMY] flags for date adjustment.
...
Discussed with: freebsd-hackers
1997-08-04 03:37:07 +00:00
danny
15afdcdb78
Fix typo in comment; Document in an example that years beyond 1999
...
are handled; fix typo in same example.
1997-04-16 05:59:21 +00:00
peter
83b3c2c161
Revert $FreeBSD$ to $Id$
1997-02-22 14:13:04 +00:00
jkh
808a36ef65
Make the long-awaited change from $Id$ to $FreeBSD$
...
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.
Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00
steve
e3fc14f868
Merge Lite2 mods, fix incorrect default string, cleanup
...
use of .Nm macros, and -Wall cleaning.
1996-12-14 05:54:15 +00:00
wosch
ab0ebe585d
[HISTORY] command appeared in Version 1 AT&T UNIX
...
Obtained from: A Quarter Century of UNIX, Peter H. Salus, page 41
1996-08-29 18:06:19 +00:00
nate
e2ab02a679
Fix 'stutter' in manpage.
...
The man page for date(1) talks about "a a" maximum, not just
"a" maximum.
Submitted by: Simon Burge <simonb@telstra.com.au> via NetBSD GNATS
1996-03-12 05:30:39 +00:00
dg
4f9c80c674
Correct the default format info to indicate "%+".
1995-08-28 10:38:01 +00:00
joerg
1fa4f508ae
date(1) didn't emit a final newline if the format had been specified
...
with `+'. This breaks tradition and violates Posix 1003.2.
Discoverd by: luigi@labinfo.iet.unipi.it (Luigi Rizzo)
1995-04-03 20:08:33 +00:00
dg
8722740e7f
Added $Id$
1994-09-24 02:59:15 +00:00
ats
ce729aba5e
Reviewed by:
...
Submitted by:
Oops, overlooked another typo in this man page.
1994-08-28 17:19:58 +00:00
ats
ec07274b9d
Reviewed by:
...
Submitted by:
Correct two typos in the format string usages.
1994-08-28 16:52:46 +00:00