summaryrefslogtreecommitdiffstats
path: root/bin/date
AgeCommit message (Expand)AuthorFilesLines
2019-08-08date(1): remove -d dst and -t minutes_westcheloha2-44/+7
2019-06-28When system calls indicate an error they return -1, not some arbitraryderaadt1-2/+2
2019-01-22-p got changed to -f;jmc1-3/+3
2019-01-21add a -f pformat flag to parse the given time with strptime.tedu2-66/+85
2018-10-17- add an example to date(1) showing how to convert between timezonesjmc1-4/+12
2018-04-25The time-setting codepath can use pledge "settime" which was added forderaadt1-2/+5
2018-02-13atoll -> strtonumcheloha1-2/+5
2017-12-23As we only use the .tv_sec field, simplify gettimeofday(2) -> time(3).cheloha1-8/+6
2017-07-09remove redundant variable declarations in Makefiles, since those areespie1-2/+1
2016-10-19Delete useless setlocale(3) in src/bin/.schwarze1-7/+4
2016-09-12Remove mention of "remote time" in description for the -a flag.jca1-3/+3
2015-10-09Change all tame callers to namechange to pledge(2).deraadt1-3/+3
2015-10-07tame "stdio rpath wpath". rpath is for localtime() and mktime(),deraadt1-1/+4
2015-09-25drop useless .No, .Ns, and quotingschwarze1-3/+4
2015-04-17FALLTHROUGH in getopt is incorrect. While here use strtonumderaadt1-7/+6
2015-03-17Eliminate use of TM_YEAR_BASE. OK guenther@ deraadt@ miod@millert1-2/+2
2015-03-15tzfile.h is an internal header that should never have been installed.millert1-2/+1
2015-02-07When getopt processing flags, many should be flag=1 instead of flag++deraadt1-2/+2
2015-01-15remove .Tn; from Jan Stary <hans at stare dot cz>schwarze1-4/+3
2014-02-14reference xsi, not xpg;jmc1-3/+4
2014-01-21localtime(3) can return NULL; seen by Rod Whitworth; ok guenther@otto1-2/+6
2014-01-05comma previous;jmc1-3/+3
2014-01-05garbage collect unused global variable retval,schwarze1-3/+3
2014-01-05some conversion specifiers are not required by POSIX;schwarze1-1/+12
2014-01-05date(1) can only exit(0) or exit(1), not exit(2), so make this .Ex -std;schwarze1-6/+3
2014-01-03note that our date supports traditional bsd date format, which isjmc1-2/+10
2013-11-27remove erroneous char cast to switch expression processing getopt(3);okan1-2/+2
2013-11-21add unsigned char casts for specific calls to ctype.h macros.deraadt1-3/+3
2013-10-20Parse the argument the -r option with atoll() to support dates past 2038guenther1-2/+2
2012-12-04replace sys/param.h with sys/types.h (and sometimes add limits.h if needed)deraadt1-2/+2
2011-08-31use the same format/text, as far as possible, for date strings;jmc1-11/+19
2011-07-08extern.h no longer neededderaadt2-38/+1
2011-07-08remove a closing (unmatched) Re, missed in previous;jmc1-3/+2
2011-07-07timed's time is up. use ntpd(8). Even our own fossil developersderaadt4-252/+26
2011-03-11add -z to the extensions list in STANDARDS;jmc1-2/+2
2011-03-11Add a non-standard option that affects the output TZ only. The input (forderaadt2-8/+23
2011-03-11Check that date(1) is not passed any extra arguments.deraadt1-4/+11
2010-09-19more wacky macro fixing;jmc1-3/+4
2010-09-03add an EXIT STATUS section for /bin;jmc1-7/+7
2010-07-22move exit returns blurb out of DIAGNOSTICS; from daniel dickmanjmc1-5/+7
2010-04-01tweak previous; ok deraadtjmc1-4/+4
2010-03-31Make a -DSMALL version of date(1) for the mediaderaadt2-3/+17
2009-10-27rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andderaadt2-24/+2
2009-02-08bump the posix reference in STANDARDS to IEEE Std 1003.1-2008, with a fewjmc1-3/+3
2008-10-01give a less confusing error message on bindresvport() failure; okotto1-3/+3
2007-12-28printf field widths are always int, so add a cast to removechl1-3/+3
2007-10-16sync the synopsis and usage of commandssobrado1-3/+3
2007-05-31convert to new .Dd format;jmc1-2/+2
2007-05-29- consistent STANDARDS blurbjmc1-3/+8
2007-05-25Remove y2k hack. If no century is specified, use the current one.millert1-14/+8