Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Mention the timezone where appropriate (for the -v option). | brian | 2000-06-22 | 1 | -3/+3 |
| | | | | correct one of the -v options. | ||||
* | Propogate the ``call mktime'' flag from adjwday() down to adjday(). | brian | 2000-05-23 | 1 | -4/+4 |
| | | | | Submitted by: Christian Weisgerber <naddy@mips.inka.de> | ||||
* | Correct confusion and differentiate appropriately between GMT and UTC when | dbaker | 2000-05-19 | 2 | -4/+4 |
| | | | | | | | | | date is launched with the "u" argument. It now operates in the documented manner. Fix typo in date man page. Submitted by: David McNett <nugget@slacker.com> | ||||
* | Change -v so that variences in units of days or less are sensitive to | brian | 2000-04-12 | 2 | -65/+76 |
| | | | | | | DST. Explain in more detail what date -v does when mixed with DST. Previous code suggested broken by: wollman | ||||
* | Always give mktime a timeval with tm_isdst set to -1, otherwise | brian | 2000-04-05 | 1 | -64/+117 |
| | | | | | | | | | | | | | | | | things get a bit out-of-phase when we step backwards 1 hour from between 0:00 and 1:00 on the first of the month following the transition into Summer time. This is probably actually a bug in mktime(). PR: 10963 If mktime() fails and 68 < year < 138, assume that the reason is because of Summer time and adjust up or down according to our adjusting context by one hour. This assumes that all DSTs are multiples of 1 hour. PR: 6223, 17750 | ||||
* | Correct confusing description of the -r option. | sheldonh | 2000-03-07 | 1 | -2/+7 |
| | | | | | PR: 17250 Submitted by: cjclark@home.com (Crist J. Clark) | ||||
* | Re-add "May" to the list of dates supported. | alfred | 2000-02-18 | 1 | -2/+2 |
| | | | | Approved by: jkh | ||||
* | Fix various mandoc bugs | brian | 2000-01-12 | 1 | -23/+48 |
| | |||||
* | Back out previous commit and replace with a cleaner solution adapted | sheldonh | 1999-12-29 | 1 | -11/+21 |
| | | | | | | | | | | | | from the source attributed below. In particular, this removes a goto inside a switch and replaces those horrendous ATOI macros with something acceptable. More clean-ups to come. PR: bin/14151 Reported by: Christian Weisgerber <naddy@mips.rhein-neckar.de> Obtained from: NetBSD | ||||
* | Allow the year to be specified with an optional century. | sheldonh | 1999-11-10 | 2 | -4/+14 |
| | | | | | PR: 14472 Reported by: j_guojun@lbl.gov (Jin Guojun) | ||||
* | $Id$ -> $FreeBSD$ | peter | 1999-08-27 | 7 | -7/+7 |
| | |||||
* | Remove obsolete BUGS section which describes something which stopped | jkh | 1999-08-25 | 1 | -16/+1 |
| | | | | | | being relevant when we ripped out the BSD/VAX code. Submitted by: Guy Harris <gharris@flashcom.net> | ||||
* | Don't continue if parsing failed when -f is in use. Exit with nonzero value. | cracauer | 1999-06-25 | 1 | -3/+2 |
| | |||||
* | the month and three days are up for -hackers and the 24hrs for -committers. | jmg | 1999-05-14 | 2 | -20/+34 |
| | | | | | | | | | | | | add a -j flag that tells date not to try to set the date. This allows you to use date as a userland interface to strptime. example: TZ=GMT date -j -f "%a, %d %b %Y %T %Z" "Sun, 08 Nov 1998 02:22:20 GMT" +%s which is the standard format for Last-modified headers in HTTP requests. only one to respond: eivind | ||||
* | Various spelling/formatting changes. | kris | 1999-05-08 | 1 | -2/+4 |
| | | | | Submitted by: Philippe Charnier <charnier@xp11.frmug.org> | ||||
* | First set of fixes to keep egcs happy. These include {} around single | imp | 1999-04-25 | 1 | -3/+5 |
| | | | | | | | | | | statement if blocks[*] when the else could be ambiguous, not defaulting to int type and removal of some unused variables. [*] This is explicitly allowed by style(9) when the single statement spans more than one line. Reviewed by: obrien, chuckr | ||||
* | Support seconds with -v. | brian | 1999-03-09 | 3 | -13/+55 |
| | | | | | PR: 6308 Submitted by: Max Euston <meuston@jmrodgers.com> | ||||
* | Example "19%y" changed to "%Y" to discourage poor usage. | danny | 1999-01-13 | 1 | -2/+2 |
| | |||||
* | Don't put compiler warning flags in leaf Makefiles. | bde | 1998-12-07 | 1 | -2/+1 |
| | |||||
* | Added missing #include <string.h> | alex | 1998-10-03 | 1 | -1/+2 |
| | |||||
* | .Sh ENVIRONMENT VARIABLES -> .Sh ENVIRONMENT | phk | 1998-05-13 | 1 | -2/+2 |
| | | | | | | PR: 6599 Reviewed by: phk Submitted by: Josh Gilliam <josh@quick.net> | ||||
* | Restore Lite-2 sccsid. Restore include of sys/param.h. | charnier | 1998-05-13 | 2 | -4/+5 |
| | |||||
* | Correct use of .Nm and other cosmetics. Add rcsid. Remove unused #inc. | charnier | 1998-05-06 | 4 | -22/+25 |
| | |||||
* | Spelling/typo fixes: (preceeded, friday). | rnordier | 1998-04-20 | 1 | -3/+3 |
| | |||||
* | Cast a size_t to a long to avoid a gcc warning. | jb | 1998-01-25 | 1 | -3/+3 |
| | |||||
* | Add (BSD) copyright headers. | brian | 1997-12-21 | 2 | -0/+56 |
| | |||||
* | Put [+format] at the end of the usage message. | brian | 1997-12-11 | 2 | -7/+8 |
| | | | | | | Make `date -?' output (pretty much) the same as the man page PR: 5269 | ||||
* | Change example from US to international standard date notation. | wosch | 1997-10-03 | 1 | -3/+3 |
| | |||||
* | Back out suppress '\n' mod. | danny | 1997-10-03 | 2 | -16/+8 |
| | |||||
* | Add the '-s' flag to the usage string. | danny | 1997-10-01 | 1 | -2/+2 |
| | |||||
* | Add the ability to supress the '\n' at the end of the date printed. | danny | 1997-10-01 | 2 | -7/+15 |
| | |||||
* | Fix the broken `date HHMM.SS' handling. | joerg | 1997-09-30 | 1 | -2/+3 |
| | | | | | PR: bin/4661 Submitted by: blank@sliphost37.uni-trier.de (Sascha Blank) | ||||
* | spelling corrections. | wosch | 1997-09-13 | 1 | -2/+2 |
| | | | | | PR: docs/4450 Submitted by: josh@quick.net | ||||
* | fix misspelling | jmg | 1997-08-30 | 1 | -2/+2 |
| | | | | | | Submitted-by: Josh Gilliam Closes PR:4425 | ||||
* | Hint at how to use TZ. | brian | 1997-08-18 | 1 | -1/+6 |
| | | | | Submitted by: grog@lemis.com | ||||
* | Remove forgotten debug statement. | brian | 1997-08-10 | 1 | -2/+1 |
| | |||||
* | Add "-f fmt date" for specification of the | brian | 1997-08-10 | 2 | -63/+93 |
| | | | | | | | | date using strptime(3). Suggested by: Michael Smith <msmith@atrad.adelaide.edu.au> Change mm & dd to MM & DD so that they don't clash with the month. | ||||
* | Change [-DMHW [+|-]val] to [-v [+|-]val[ymwdHM]] | brian | 1997-08-09 | 5 | -108/+166 |
| | | | | | Support Hours & Minutes Add -Wall to Makefile | ||||
* | Add [-DWMY] flags for date adjustment. | brian | 1997-08-04 | 5 | -8/+430 |
| | | | | Discussed with: freebsd-hackers | ||||
* | Cosmetic change in usage string. | charnier | 1997-06-06 | 1 | -4/+4 |
| | |||||
* | Off by 1 adjustment. | charnier | 1997-06-02 | 1 | -2/+2 |
| | |||||
* | Fix typo in comment; Document in an example that years beyond 1999 | danny | 1997-04-16 | 2 | -4/+4 |
| | | | | are handled; fix typo in same example. | ||||
* | compare return value from getopt against -1 rather than EOF, per the final | imp | 1997-03-28 | 1 | -2/+2 |
| | | | | posix standard on the topic. | ||||
* | Fix buffer overflow | guido | 1997-03-10 | 1 | -2/+3 |
| | |||||
* | Revert $FreeBSD$ to $Id$ | peter | 1997-02-22 | 5 | -5/+5 |
| | |||||
* | Make the long-awaited change from $Id$ to $FreeBSD$ | jkh | 1997-01-14 | 5 | -5/+5 |
| | | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise. | ||||
* | Merge Lite2 mods, fix incorrect default string, cleanup | steve | 1996-12-14 | 3 | -13/+16 |
| | | | | use of .Nm macros, and -Wall cleaning. | ||||
* | [HISTORY] command appeared in Version 1 AT&T UNIX | wosch | 1996-08-29 | 1 | -1/+6 |
| | | | | Obtained from: A Quarter Century of UNIX, Peter H. Salus, page 41 | ||||
* | For nonexisten time use proper diagnostic instead of bad format and usage | ache | 1996-04-06 | 1 | -2/+2 |
| | |||||
* | Fix 'stutter' in manpage. | nate | 1996-03-12 | 1 | -2/+2 |
| | | | | | | | The man page for date(1) talks about "a a" maximum, not just "a" maximum. Submitted by: Simon Burge <simonb@telstra.com.au> via NetBSD GNATS |