summaryrefslogtreecommitdiff
path: root/bin/date
AgeCommit message (Collapse)Author
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
2000-10-18Add some rudimentary EXAMPLES sections and standardize the way we displayAaron Campbell
existing EXAMPLES sections.
2000-09-15check return value for setenv(3) for failure, and deal appropriatelyTheo de Raadt
2000-04-15- For consistency, `super-user' -> `superuser' in all cases.Aaron Campbell
- Some punctuation fixes. - Some `id' -> `ID'.
2000-03-31more timezone pointersTheo de Raadt
2000-03-21Add HISTORY sections; from FreeBSD. Information originally obtained fromAaron Campbell
"A Quarter Centry of UNIX, Peter H. Salus, Page 41".
2000-02-19Miscellaneous cleanup.Aaron Campbell
2000-01-22remove extra externs not needed because of unistd.h (rest of tree will be ↵Theo de Raadt
done later.. contact me if you want to help)
1999-08-17clearer descriptionAaron Campbell
1999-08-17consistencyAaron Campbell
1999-06-04start to remove non-escaped trailing whitespace, it can confuse troff; pjanzen@Aaron Campbell
1999-02-01GMT -> UTC in comments; make y2k hack easier to readDavid Leonard