summaryrefslogtreecommitdiffstats
path: root/bin/date/date.1
Commit message (Collapse)AuthorAgeFilesLines
* Scheduled mdoc(7) sweep.ru2005-01-091-2/+2
|
* Change the behaviour of `-v' so that, e.g., stepping a month backyar2004-08-091-1/+23
| | | | | | | | | | | | | | | | | on March 31 won't take you to March 2 or 3 (now the result will be the last day of February.) In general, now stepping by months from the last days of the current month A will take you to the very last day of the target month B if B is shorter than A. The previous version would just step to March 31 and rely on mktime(3) to correct the date. Despite its simplicity, such way was counter-intuitive to users and caused pain to shell script writers. Noticed by: Igor Timkin <ivt at gamma dot ru> Approved by: brian MFC after: 2 weeks
* Give the most awesome example of how to parse the output of datealfred2004-07-171-0/+8
| | | | | | back into epoch time. Everytime I'm asked to do this by someone I have to spend about ten minutes recreating the same command line. So record it under examples.
* Deal with double whitespace.ru2004-07-031-3/+5
|
* Mechanically kill hard sentence breaks.ru2004-07-021-1/+1
|
* DESCRIPTION was not updated for the new SYNOPSIS.ru2004-05-161-6/+7
|
* Give date(1) a much better SYNOPSIS section which is useful as more thangreen2004-04-061-9/+13
| | | | | | | decoration. Further improvements are welcome, but at least this is a separate of the various modes of operation date has, as well as sectioning off the two deprecated options for settimeofday(tz) that don't even apply to actual operation of date as such, anyway.
* Remove clause 3 from the UCB licenses.markm2004-04-061-4/+0
| | | | OK'ed by: imp, core
* Note the Linux required format.obrien2004-01-061-0/+1
|
* mdoc(7) police: markup laundry.ru2003-02-231-31/+22
|
* Add an example to help one manually set the date on one machine taking the outobrien2003-02-181-0/+5
| | | | put from another.
* Fix some twelve hour clock braindamage. The range for hours is 0-23 not 1-12.fanf2002-10-031-1/+1
| | | | MFC After: 1 week
* s/CMOS/hardware as talked about on cvs-committers.trhodes2002-04-161-1/+1
| | | | | | Suggested by: sheldonh Approved by: bde MFC after: 1 day
* Little nit pick in date(1) manual page, tell users which clock date(1)trhodes2002-04-151-0/+6
| | | | | | sets PR: 35606
* mdoc(7) police:ru2001-08-071-15/+11
| | | | | | | Avoid using parenthesis enclosure macros (.Pq and .Po/.Pc) with plain text. Not only this slows down the mdoc(7) processing significantly, but it also has an undesired (in this case) effect of disabling hyphenation within the entire enclosed block.
* Remove whitespace at EOL.dd2001-07-151-3/+3
|
* Simplify, with the power of new mdoc(7).ru2001-06-091-9/+3
|
* Make it clear that the -v option doesn't actually set the date.dd2001-03-161-2/+3
| | | | | PR: 24773 Approved by: nik
* Document the restrictions on changing times in high securelevels.ben2001-01-171-1/+5
| | | | | PR: 23502 Submitted by: Robert Boyd <rboyd@pokerspot.com>
* Prepare for mdoc(7)NG.ru2000-12-191-1/+1
|
* Prepare for mdoc(7)NG.ru2000-12-151-16/+30
|
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-2/+2
|
* Try to clean the manpage up according to the mail from Sheldonjwd2000-07-281-5/+6
| | | | | | | | | | 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
* Expand the -r option to support hex. Though undocumented, the -rjwd2000-07-221-1/+1
| | | | | | | | 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
* Fix one grammar problem which crept in from rev 1.40 to rev 1.42, andsheldonh2000-07-181-2/+2
| | | | one mdoc problem from rev 1.40 (unnecessarily populated Nm macro).
* Re-worded the description of the -r optionmarko2000-07-151-2/+4
| | | | | | PR: 18792 Submitted by: Bob Johnson <bobj@atlantic.net> Approved by: Alexander Langer <alex@freebsd.org>
* Now, the mdoc fixes, such as:alex2000-07-141-22/+28
| | | | | | | | | * 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
* As per request by sheldonh and others on IRC, seperate language and mdocalex2000-07-141-32/+28
| | | | | | | 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
* Fix several language, style and mdoc improvements (such as correctalex2000-07-141-57/+60
| | | | | | | | 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)
* Grumble. The previous commit still had the wrong date in thempp2000-06-281-1/+1
| | | | | example. Oct 29 0:30 +3 hours is still Oct 29, no matter what the DST setting is, and not Oct 30..
* Typo fix.mpp2000-06-281-1/+1
| | | | | PR: docs/19554 Submitted by: Kazuo Horikawa <horikawa@psinet.com>
* Mention the timezone where appropriate (for the -v option).brian2000-06-221-3/+3
| | | | correct one of the -v options.
* Correct confusion and differentiate appropriately between GMT and UTC whendbaker2000-05-191-1/+1
| | | | | | | | | 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>
* Change -v so that variences in units of days or less are sensitive tobrian2000-04-121-1/+24
| | | | | | DST. Explain in more detail what date -v does when mixed with DST. Previous code suggested broken by: wollman
* Correct confusing description of the -r option.sheldonh2000-03-071-2/+7
| | | | | PR: 17250 Submitted by: cjclark@home.com (Crist J. Clark)
* Fix various mandoc bugsbrian2000-01-121-23/+48
|
* Allow the year to be specified with an optional century.sheldonh1999-11-101-2/+4
| | | | | PR: 14472 Reported by: j_guojun@lbl.gov (Jin Guojun)
* $Id$ -> $FreeBSD$peter1999-08-271-1/+1
|
* Remove obsolete BUGS section which describes something which stoppedjkh1999-08-251-16/+1
| | | | | | being relevant when we ripped out the BSD/VAX code. Submitted by: Guy Harris <gharris@flashcom.net>
* the month and three days are up for -hackers and the 24hrs for -committers.jmg1999-05-141-2/+8
| | | | | | | | | | | | 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
* Various spelling/formatting changes.kris1999-05-081-2/+4
| | | | Submitted by: Philippe Charnier <charnier@xp11.frmug.org>
* Support seconds with -v.brian1999-03-091-10/+11
| | | | | PR: 6308 Submitted by: Max Euston <meuston@jmrodgers.com>
* Example "19%y" changed to "%Y" to discourage poor usage.danny1999-01-131-2/+2
|
* .Sh ENVIRONMENT VARIABLES -> .Sh ENVIRONMENTphk1998-05-131-2/+2
| | | | | | PR: 6599 Reviewed by: phk Submitted by: Josh Gilliam <josh@quick.net>
* Correct use of .Nm and other cosmetics. Add rcsid. Remove unused #inc.charnier1998-05-061-12/+12
|
* Spelling/typo fixes: (preceeded, friday).rnordier1998-04-201-3/+3
|
* Put [+format] at the end of the usage message.brian1997-12-111-4/+4
| | | | | | Make `date -?' output (pretty much) the same as the man page PR: 5269
* Change example from US to international standard date notation.wosch1997-10-031-3/+3
|
* Back out suppress '\n' mod.danny1997-10-031-5/+2
|
* Add the ability to supress the '\n' at the end of the date printed.danny1997-10-011-2/+5
|
OpenPOWER on IntegriCloud