summaryrefslogtreecommitdiff
path: root/bin/date/date.c
AgeCommit message (Expand)Author
2015-10-09Change all tame callers to namechange to pledge(2).Theo de Raadt
2015-10-07tame "stdio rpath wpath". rpath is for localtime() and mktime(),Theo de Raadt
2015-04-17FALLTHROUGH in getopt is incorrect. While here use strtonumTheo de Raadt
2015-03-17Eliminate use of TM_YEAR_BASE. OK guenther@ deraadt@ miod@Todd C. Miller
2015-03-15tzfile.h is an internal header that should never have been installed.Todd C. Miller
2015-02-07When getopt processing flags, many should be flag=1 instead of flag++Theo de Raadt
2014-01-21localtime(3) can return NULL; seen by Rod Whitworth; ok guenther@Otto Moerbeek
2014-01-05garbage collect unused global variable retval,Ingo Schwarze
2013-11-27remove erroneous char cast to switch expression processing getopt(3);Okan Demirmen
2013-11-21add unsigned char casts for specific calls to ctype.h macros.Theo de Raadt
2013-10-20Parse the argument the -r option with atoll() to support dates past 2038Philip Guenther
2012-12-04replace sys/param.h with sys/types.h (and sometimes add limits.h if needed)Theo de Raadt
2011-07-08extern.h no longer neededTheo de Raadt
2011-07-07timed's time is up. use ntpd(8). Even our own fossil developersTheo de Raadt
2011-03-11Add a non-standard option that affects the output TZ only. The input (forTheo de Raadt
2011-03-11Check that date(1) is not passed any extra arguments.Theo de Raadt
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
2007-12-28printf field widths are always int, so add a cast to removeCharles Longeau
2007-10-16sync the synopsis and usage of commandsIgor Sobrado
2007-05-25Remove y2k hack. If no century is specified, use the current one.Todd C. Miller
2007-04-12use UTC instead of GMT0 for -u; from Jared R.R.Spiegel <jrrs@ice-nine.org>Christian Weisgerber
2005-11-29add an option -j which suppresses setting the clock, but parses the dateDaniel Hartmeier
2003-10-15errx -> err. From form.Mike Pechkin
2003-07-29spacingTheo de Raadt
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
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
2002-01-16missed some registers, kill'em!Mike Pechkin
2001-12-02add -a to use adjtime(), like rdate(1) doesTheo de Raadt
2001-09-06o) __progname aria;Mike Pechkin
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
2000-09-15check return value for setenv(3) for failure, and deal appropriatelyTheo de Raadt
2000-01-22remove extra externs not needed because of unistd.h (rest of tree will be don...Theo de Raadt
1999-02-01GMT -> UTC in comments; make y2k hack easier to readDavid Leonard
1999-01-02Clean up some -Wall stuff, and a potential problem if TM_TIME_BASE was notTobias Weingartner
1998-09-01Clear up an overeager Y2K fix; be a little stricter with allowable timesPaul Janzen
1997-09-17Cosmetic:bri
1997-09-16nicer spacing in usageTheo de Raadt
1997-08-21correct [yy]yy stuff in manpages and usageTheo de Raadt
1997-07-23tabifykstailey
1997-06-23duh, my mind is not crispTheo de Raadt
1997-06-23yyyy specification code; m4@nts.umn.eduTheo de Raadt
1997-04-16cleanup from danny@freebsdTheo de Raadt
1997-04-04wtmp repairs; netbsdTheo de Raadt
1996-06-23update rcsidTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt