summaryrefslogtreecommitdiff
path: root/bin/date
AgeCommit message (Collapse)Author
2011-03-11add -z to the extensions list in STANDARDS;Jason McIntyre
2011-03-11Add a non-standard option that affects the output TZ only. The input (forTheo de Raadt
parsing) TZ is unaffected. This makes it it easier to convert timestamps from any timezone to any other timezone -- no need for $() gymnastics ok millert
2011-03-11Check that date(1) is not passed any extra arguments.Theo de Raadt
ok millert
2010-09-19more wacky macro fixing;Jason McIntyre
2010-09-03add an EXIT STATUS section for /bin;Jason McIntyre
2010-07-22move exit returns blurb out of DIAGNOSTICS; from daniel dickmanJason McIntyre
2010-04-01tweak previous; ok deraadtJason McIntyre
2010-03-31Make a -DSMALL version of date(1) for the mediaTheo de Raadt
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
2009-02-08bump the posix reference in STANDARDS to IEEE Std 1003.1-2008, with a fewJason McIntyre
updates to follow;
2008-10-01give a less confusing error message on bindresvport() failure; okOtto Moerbeek
matthieu@ millert@
2007-12-28printf field widths are always int, so add a cast to removeCharles Longeau
"warning: field width is not type int" "looks good" otto@
2007-10-16sync the synopsis and usage of commandsIgor Sobrado
ok jmc@
2007-05-31convert to new .Dd format;Jason McIntyre
2007-05-29- consistent STANDARDS blurbJason McIntyre
- note which options are extensions to POSIX discussed w/ deraadt otto millert
2007-05-25Remove y2k hack. If no century is specified, use the current one.Todd C. Miller
OK otto@
2007-04-12use UTC instead of GMT0 for -u; from Jared R.R.Spiegel <jrrs@ice-nine.org>Christian Weisgerber
ok millert@, otto@
2006-05-15better example;Jason McIntyre
from siju george ok deraadt
2006-04-25various small lint cleanups; ok ottoTheo de Raadt
2006-01-08make the description of the first example a little more informative;Jason McIntyre
2005-11-30timezone -> time zoneJason McIntyre
2005-11-29add an option -j which suppresses setting the clock, but parses the dateDaniel Hartmeier
argument. useful to convert string-to-epoch (with +%s) or just to check whether the argument is parsed correctly before really setting the clock. ok millert@, deraadt@
2005-11-07- document the `cc' part of `ccyy'Jason McIntyre
- get its description right - minor grammar tweaks ok otto@
2004-07-21tidy up EXAMPLES somewhat;Jason McIntyre
2004-07-09make date(1), rdate(8), ntpd(8), and timed(8) .Xr themselves;Jason McIntyre
mostly from Andreas Kahari (PR #3846);
2004-04-07.Xr rdate 8 in SEE ALSO;Jason McIntyre
from xsa@
2004-04-07list options w/o operands before options w/ operands (style(9));Jason McIntyre
.Xr adjtime 2 in SEE ALSO;
2003-10-15errx -> err. From form.Mike Pechkin
millert@ ok
2003-07-29spacingTheo de Raadt
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-05-29section reorder;Jason McIntyre
2003-03-12more .LiTheo de Raadt
2002-11-14use $ or # before commands in examplesTheo de Raadt
2002-07-04ansiTheo de Raadt
2002-04-17getopt idiotTheo de Raadt
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ↵Todd C. Miller
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2002-02-11Initial patch.Mike Pechkin
When you give command examples in a manual page prefix them with $ command or # command deraadt@ ok
2002-01-16missed some registers, kill'em!Mike Pechkin
millert@ ok
2001-12-02add -a to use adjtime(), like rdate(1) doesTheo de Raadt
2001-09-06o) __progname aria;Mike Pechkin
millert@ ok.
2001-07-05Fix length type.Marc Espie
2001-06-26really use strlcpy vs strncpy+a[len-1]='\0'lebel
2001-06-26use strlcpy vs strncpy+a[len-1]='\0'lebel
2001-06-23ok, tmac is now fixedTheo de Raadt
2001-06-23join .%A entries; most by bk@rt.fmTheo de Raadt
2001-05-01Remove completely redundant introductory sentences in ENVIRONMENT sections.Aaron Campbell
2001-03-26Fix comments, it is "daylight saving time", not "daylight savings time"Todd C. Miller
2000-11-09Fix an off-by-one-hour error that would occur when changing the time acrossAaron Campbell
DST (Daylight Saving Time); from NetBSD.
2000-11-09- Don't use general text domain macros in literal block displays.Aaron Campbell
- Beautify the SYNOPSIS; somewhat inspired by a similar change in NetBSD.
2000-11-08Escape the quotation marks in the first example so they show; deraadt@Aaron Campbell