summaryrefslogtreecommitdiff
path: root/bin/date/date.c
AgeCommit message (Expand)Author
2025-11-11date: Improve nanosecond supportDag-Erling Smørgrav
2024-09-04date: Fix a few nits.Dag-Erling Smørgrav
2024-04-28date: Correctly check outcome of mktime().Dag-Erling Smørgrav
2024-04-26date: Fix tests by initializing timespec structureMateusz Piotrowski
2024-04-26date: Add support for nanosecondsMateusz Piotrowski
2023-11-26bin: Automated cleanup of cdefs and other formattingWarner Losh
2023-11-26Remove copyright strings ifdef'd outWarner Losh
2023-11-26bin: Remove ancient SCCS tags.Warner Losh
2023-08-16Remove $FreeBSD$: one-line .c patternWarner Losh
2023-07-07Mark usage function as __dead2 in programs where it does not returnAlfonso Gregory
2023-05-19date: add -z output_zone optionBaptiste Daroussin
2021-11-03date: Capitalize seconds string in synopsesMateusz Piotrowski
2021-11-03date: Clean up synopsesMateusz Piotrowski
2019-04-24Restore the -n flag parsing, but ignore it.Warner Losh
2019-03-21Remove -n flag, fix setting date / timeWarner Losh
2019-03-12Remove now useless -d and -t flags.Warner Losh
2018-12-15Remove, the now very outdated, timed.George V. Neville-Neil
2018-08-04date(1): Add ISO 8601 formatting optionConrad Meyer
2018-01-23Fill in ut_id. While it's not relevant to the {OLD,NEW}_TIME entries,Warner Losh
2017-11-20General further adoption of SPDX licensing ID tags.Pedro F. Giffuni
2017-07-20date: avoid crash on invalid timeEd Maste
2017-02-28Renumber copyright clause 4Warner Losh
2015-05-07date(1): Make -r behave like GNU's version when the option can not beXin LI
2014-04-26date(1): Add "-R" flag to use RFC 2822 date and time output formatJean-Sébastien Pédron
2012-09-01Rework all non-contributed files that use `struct timezone'.Ed Schouten
2010-01-13Port everything in bin/ from utmp to utmpx.Ed Schouten
2009-12-05Let date(1) use utmpx instead of logwtmp().Ed Schouten
2008-02-07Don't reset DST computed by strptime() (when e.g. setting theRuslan Ermilov
2005-01-10/*- or .\"- or #- to begin license clauses.Warner Losh
2004-04-06Remove clause 3 from the UCB licenses.Mark Murray
2004-03-04Rev. 1.32 moved a comment to the wrong line. The hack refered toMike Makonnen
2003-10-04Check for write errors; report and exit with error value.Diomidis Spinellis
2003-02-05Enclose sccsid according to style(9).Philippe Charnier
2002-10-18Staticify for lint.Mark Murray
2002-06-30Consistently use __FBSDIDDavid E. O'Brien
2002-02-22Fix warnings inspired by lint, a commercial lint and WARNS=4.Mark Murray
2002-02-02o __P has been reovedWarner Losh
2001-10-28Remove assumption that time_t is an intMatthew Dillon
2001-06-09Add -j to the usage string.Dima Dorfman
2001-05-17Fix an off-by-hour bug when crossing Daylight Saving Time boundary.Ruslan Ermilov
2000-08-16Don't explicitly declare optarg and optind. These are declared inWarner Losh
2000-07-22Expand the -r option to support hex. Though undocumented, the -rJohn W. De Boskey
2000-05-19Correct confusion and differentiate appropriately between GMT and UTC whenDaniel Baker
1999-12-29Back out previous commit and replace with a cleaner solution adaptedSheldon Hearn
1999-11-10Allow the year to be specified with an optional century.Sheldon Hearn
1999-08-27$Id$ -> $FreeBSD$Peter Wemm
1999-06-25Don't continue if parsing failed when -f is in use. Exit with nonzero value.Martin Cracauer
1999-05-14the month and three days are up for -hackers and the 24hrs for -committers.John-Mark Gurney
1999-03-09Support seconds with -v.Brian Somers
1998-10-03Added missing #include <string.h>Alexander Langer