summaryrefslogtreecommitdiff
path: root/src/date.c
AgeCommit message (Collapse)Author
1998-06-29revert back to using lower case _unlocked wrapper namesJim Meyering
1998-06-29Change all uses of unlocked-wrapped functions to their upper case wrapper names.Jim Meyering
1998-03-26(batch_convert): Remove spurious space in error message.Jim Meyering
Reported by Karl Berry.
1998-03-14s/get-date.h/getdate.h/Jim Meyering
1998-02-20s/getdate.h/get-date.h/Jim Meyering
1998-01-10(batch_convert): Use memcpy when we don't need return value.Jim Meyering
1997-12-21s/__P/PARAMS/Jim Meyering
1997-11-15(mempcpy): Remove definition.Jim Meyering
1997-11-12[!HAVE_MEMPCPY] (mempcpy): Define.Jim Meyering
(batch_convert): Use mempcpy rather than stpcpy.
1997-10-25Remove old-style xmalloc and xrealloc decls.Jim Meyering
1997-10-23Remove stpcpy decl.Jim Meyering
1997-10-07update bug-reporting addressJim Meyering
1997-08-18(show_date): Don't hang if strftime produces an empty string.Jim Meyering
1997-07-12(MAYBE_SET_TZ_UTC0): New macro.Jim Meyering
(set_tz): New function. (batch_convert): If necessary, save the initial value of TZ and for each date in the file, restore it before each call to get_date, then set it to UTC0 before each show_date call. (main): Don't set TZ before calling get_date. Set TZ after get_date call and before show_date call. Reported by Matthew Braun.
1997-06-16tweak error messageJim Meyering
1997-02-01bracket bug address with <> and append a periodJim Meyering
1997-02-01Compare getopt_long return value against -1, not EOF. Use NULL, not '(int ↵Jim Meyering
*) 0' as last parameter in getopt_long call.
1997-01-18Include getdate.h.Jim Meyering
(<time.h>, <sys/time.h>): Don't include -- now getdate.h does it.
1996-11-03change bug-reporting addressJim Meyering
1996-11-02change bug-reporting addressJim Meyering
1996-11-02(main): Give better diagnostic.Jim Meyering
Suggestion from Karl Berry.
1996-10-05(main): update --version output to conform to coding standardJim Meyering
1996-09-02(usage): Tell where to report bugs.Jim Meyering
1996-04-30(usage): Change TAB in message to spaces. Doing that seemsJim Meyering
to have worked around a problem with something in gettext that was producing a truncated usage message for date's usage. François Pinard.
1996-04-24update Copyright years for 1996Jim Meyering
1996-04-22(usage): Describe new %V format.Jim Meyering
1996-04-13(usage): Add missing `\n\' at the end of newly added lines for %e and %z.Jim Meyering
1996-04-13(usage): Document %e and %z. Reported by Karl Berry.Jim Meyering
1996-03-24Update FSF's address.Jim Meyering
1996-03-21(main): Declare to be of type int, not void.Jim Meyering
1996-03-16Don't include version.h.Jim Meyering
(main): Use PACKAGE_VERSION instead of version_string.
1996-03-12(main): Initialize for internationalized message support:Jim Meyering
call setlocale, bindtextdomain, and textdomain.
1996-02-25(batch_convert): Put `' around filename in error in case it's empty.Jim Meyering
1996-02-23(batch_convert): Declare BUFLEN local to be of type size_t, not int.Jim Meyering
1996-02-01(main): Accept new option, --rfc-822 (-R).Jim Meyering
(show_date): Use RFC822-mandated strftime format. From H. Peter Anvin (hpa@storm.net). (usage): Add a line describing the new option.
1996-01-07Fix typo in __P use.Jim Meyering
1996-01-06Protoize and __P-protect forward dcls.Jim Meyering
1996-01-06(putenv): Declare.Jim Meyering
(universal_time): Remove. (main): If -u is given, set TZ to "UTC0"; this causes date to use UTC uniformly and fixes bugs in the handling of date -u +'%s %Z'. (show_date): Just use localtime and a single format, since TZ will be set properly if -u is given. From Paul Eggert.
1995-11-27s/non-zero/nonzero/gJim Meyering
1995-10-28New option --reference=FILE (-r FILE) analogous to theJim Meyering
like-named touch option. (main): Recognize it and give diagnostic for misuse. (usage): Describe briefly. From Franc,ois Pinard. (batch_convert): Close input stream also when it's not stdin. (main): Reorganize to do option-consistency checks before all else.
1995-10-27(batch_convert): Close input stream also when it's not stdin.Jim Meyering
1995-08-08Annotate localizable strings with _(...). From Franc,ois.Jim Meyering
1995-05-15(usage): Add one- and two-line descriptions to --help output.Jim Meyering
From Karl.
1995-04-30(usage): Fix per kb's suggestions.Jim Meyering
1995-03-09add 1995 to Copyright datesJim Meyering
1995-02-27(batch_convert): Remove any trailing newline from offendingJim Meyering
line before including it in the `invalid date' error from `date -f'. Reported by Franc,ois Pinard.
1994-12-20* src/*.c: Include "error.h" instead of simply declaringJim Meyering
`void error ();'.
1994-10-01.Jim Meyering
1994-10-01.Jim Meyering
1994-09-29merge with 1.10n3Jim Meyering