Commit Graph

38 Commits

Author SHA1 Message Date
wiz 1730a98675 Drop trailing whitespace. 2006-11-26 16:40:44 +00:00
christos ab56b9a702 getdate -> parsedate 2006-11-20 20:33:33 +00:00
christos aa62ece776 Add -d option, similar to gnu date. 2006-11-15 16:55:18 +00:00
jdarrow 5d27a9d665 Add -j flag to not actually change the clock, just parse the date given
(if any) and then display it in the format given.  Matches similar -j
flag functionality in FreeBSD/OpenBSD.

Change requested by George Georgalis on netbsd-users.

While I'm here, disambiguate the letters in the date string, by using
the same option letters as used by strftime(3).
2006-11-15 03:10:01 +00:00
dsl a7151c0abc Add a '-a' option to set the time using adjtime(2) instead of settimeofday(2).
Fix usage so that the options which apply to dat/time setting are on the
correct line.
2005-04-18 06:53:35 +00:00
agc b5b2954259 Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22249, verified by myself.
2003-08-07 09:05:01 +00:00
wiz 990562bfef .Nm does not need a dummy argument ("") before punctuation or
for correct formatting of the SYNOPSIS any longer.
2003-02-25 10:34:36 +00:00
wiz 14dfaa4b03 New policy: New sentences start on a new line.
Patches by Robert Elz <kre at munnari oz au>, with minimal changes by me.
2002-09-25 15:18:36 +00:00
ross dc5571b22e Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-08 01:21:55 +00:00
wiz 22f1ac50a6 Sort sections. 2001-12-20 20:04:19 +00:00
wiz 3ebcdc5e43 Whitespace nits. 2001-12-20 19:31:48 +00:00
hubertf bb6b8354d9 xref settimeofday(2) 2001-03-09 15:16:49 +00:00
hubertf 84a116117c Document /etc/localtime, per PR 8099 by Charles Hannum. 2000-12-18 07:57:02 +00:00
bjh21 080f6953ea Formatting cleanup: more fonts, less punctuation. 2000-10-08 11:02:41 +00:00
hubertf 6f51bb4732 make example cut&paste-ready 1999-12-29 04:11:30 +00:00
ross 6fe4eb2696 Work around a spurious warning. 1999-03-09 03:02:40 +00:00
lukem a7881b9570 remove unnecessary comment 1998-06-08 09:07:13 +00:00
mycroft c7273dc993 Make the documented parsing order for the date match reality. 1998-01-20 21:47:43 +00:00
mycroft 0166097d26 Fix documentation of `-r'. 1998-01-20 21:34:53 +00:00
mycroft f9a6471ec7 Allow a century to be specified.
Cut and paste some text from touch(1) about date parsing.
1998-01-20 21:16:38 +00:00
kleink 64c0cead8c s/UCT/UTC/ 1997-11-03 18:42:49 +00:00
enami c3872193cf Fix .Nm usage. 1997-10-20 08:50:59 +00:00
mikel bd361a3aba fix broken timed(8) xrefs, noted by David Brownlee. 1997-05-11 08:34:37 +00:00
perry 15d0dbe011 Add documentation of the fact that date does indeed understand years
after 2000 (years 00 through 68 are interpreted as meaning 2000-2068;
this should be updated sometime before 2068 :-)
1997-03-11 23:43:41 +00:00
perry b195ec73d5 nuke the BUGS section -- it was vax specific 1997-01-25 00:17:00 +00:00
perry 61974fdce1 remove obsolete -d and -t options -- kernel timezone handling is long gone 1997-01-24 18:17:17 +00:00
phil 3e4d50990e a a => a (close pr 2204). 1996-03-12 04:32:37 +00:00
jtc 9a3ca97f12 ENVIRONMENTAL -> ENVIRONMENT 1995-12-05 02:41:35 +00:00
jtc 5fc5415e25 Sync with 4.4lite2 1995-09-07 06:12:53 +00:00
jtc 23e6aab105 Use "utility" instead of "command". Modern definitions of these terms
are distinct (See POSIX.2 glossary).

A utility is a executable, script or shell builtin; while a command
can be any of those things plus lists, pipelines, compound commands
(if, for, while) and shell function definitions.
1995-07-25 19:36:36 +00:00
cgd 49f0ad8601 convert to new RCS id conventions. 1995-03-21 09:01:59 +00:00
mycroft 667b5ea158 Merge 4.4-Lite version. 1994-09-22 09:24:46 +00:00
jtc a5960e1999 Print correct default output format.
Note that date (with a suitable strftime()), is 1003.2 compliant.
1993-08-19 17:02:40 +00:00
jtc 7bab32a746 1003.2: 4.15.4: The output always shall be terminated by a newline character. 1993-08-16 23:08:51 +00:00
mycroft b1bd4afedc Add RCS indentifiers. 1993-08-01 07:42:49 +00:00
cgd 06be60083d changed "Id" to "Header" for rcsids 1993-03-23 00:22:59 +00:00
cgd 346aa5dd48 added rcs ids to all files 1993-03-22 08:04:00 +00:00
cgd 61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00