summaryrefslogtreecommitdiff
path: root/bin/date
AgeCommit message (Expand)Author
2006-08-17don't include program name when calling err()jnemeth
2006-07-23PR/34055: Kevin Massey: Date uses a fixed 1K buffer for strftimechristos
2006-06-14Adapt date(1), the netsettime function, to new return value from socket(2)ginsbach
2005-07-22More minor cleanup:peter
2005-07-22Minor code cleanup:hubertf
2005-06-26sprinkle a little const, and now everything compiles with WARNS=3christos
2005-05-15Set (and report) the new time (not the old one).dsl
2005-04-18Add a '-a' option to set the time using adjtime(2) instead of settimeofday(2).dsl
2003-08-07Move UCB-licensed code from 4-clause to 3-clause licence.agc
2003-08-04As discusses a little while back on tech-userlevel:jschauma
2003-07-18doc2html works here now, so remove NOHTMLlukem
2003-07-12strlcpyitojun
2003-02-25.Nm does not need a dummy argument ("") before punctuation orwiz
2002-09-25New policy: New sentences start on a new line.wiz
2002-09-21select() -> poll()mycroft
2002-02-08Generate <>& symbolically. I'm avoiding .../dist/... directories for now.ross
2001-12-20Sort sections.wiz
2001-12-20Whitespace nits.wiz
2001-11-03fix WARNS=2lukem
2001-09-16Use setprogname. Patch by Petri Koistinen.wiz
2001-09-13ANSIfication and KNF fixes by Petri Koistinen in bin/13691.wiz
2001-07-08Use socklen_t; for compilers with strict type checking.gmcgarry
2001-07-08setthetime() is prototyped static; make it so.gmcgarry
2001-07-03doc2hmtl is broken for recursive Oo ... Oc at this timelukem
2001-03-09xref settimeofday(2)hubertf
2000-12-18Document /etc/localtime, per PR 8099 by Charles Hannum.hubertf
2000-10-23Use strtol() to convert the -r parameter so we can use alternate basessimonb
2000-10-08Formatting cleanup: more fonts, less punctuation.bjh21
2000-10-08When setting the date, ask mktime() to work out whether we're in DST or not.bjh21
2000-04-14Don't declare 'extern opt*' getopt variables.simonb
2000-01-04Make this slightly more portable by using putenv().kleink
1999-12-29make example cut&paste-readyhubertf
1999-03-09Work around a spurious warning.ross
1998-12-19Fixed off-by-one error where HOSTNAME+1 characters was copied intokristerw
1998-11-04cast to unsigned char for is*()christos
1998-11-04#ifdef BSD4_4 for sin_lenchristos
1998-10-24GMT -> UTCmycroft
1998-10-14For the case where mktime() fails exit with "illegal time" error rather thanwsanchez
1998-07-28Be more retentive about use of NOTREACHED and noreturn.mycroft
1998-07-28Delint.mycroft
1998-07-28Delint.mycroft
1998-07-27__AUDIT__ cleanup.mycroft
1998-07-06- use an array MAXHOSTNAMELEN+1 size to hold hostnamesmrg
1998-06-08remove unnecessary commentlukem
1998-04-01Need <time.h> for time(), strftime(), localtime() and mktime() prototypes.kleink
1998-01-21Slight code rearrangement.mycroft
1998-01-20Don't validate the mmddhhmm.ss values here. mktime(3) does it.mycroft
1998-01-20Make the documented parsing order for the date match reality.mycroft
1998-01-20Fix documentation of `-r'.mycroft
1998-01-20Allow a century to be specified.mycroft