summaryrefslogtreecommitdiff
path: root/bin/date/date.c
AgeCommit message (Expand)Author
2001-09-16Use setprogname. Patch by Petri Koistinen.wiz
2001-09-13ANSIfication and KNF fixes by Petri Koistinen in bin/13691.wiz
2001-07-08setthetime() is prototyped static; make it so.gmcgarry
2000-10-23Use strtol() to convert the -r parameter so we can use alternate basessimonb
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
1998-11-04cast to unsigned char for is*()christos
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-27__AUDIT__ cleanup.mycroft
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-20Allow a century to be specified.mycroft
1998-01-20Use TM_YEAR_BASE to adjust tm_year, not 1900.mycroft
1997-11-05lintcgd
1997-07-20__RCSID()/__COPYRIGHT()/prototype police.thorpej
1997-03-26pull in util.h rather than prototypeing logtwmp() locally.cgd
1997-01-24remove obsolete -d and -t options -- kernel timezone handling is long goneperry
1997-01-09kill use of registertls
1995-09-07Sync with 4.4lite2jtc
1995-04-23clean up RCS Ids slightly, etc.cgd
1995-03-21convert to new RCS id conventions.cgd
1994-09-22Merge 4.4-Lite version.mycroft
1993-12-31Minor tweaks.jtc
1993-08-161003.2: 4.15.4: The output always shall be terminated by a newline character.jtc
1993-08-01Add RCS identifiers.mycroft
1993-06-21date comamnd ignored seconds value. patch from <mhw@cs.brown.edu>deraadt
1993-03-23changed "Id" to "Header" for rcsidscgd
1993-03-22added rcs ids to all filescgd
1993-03-21initial import of 386bsd-0.1 sourcescgd