summaryrefslogtreecommitdiff
path: root/src/date.c
AgeCommit message (Collapse)Author
2000-07-19(batch_convert): Free `initial_TZ' only if it was set.Jim Meyering
2000-05-11(usage): Don't call close_stdout_status directly,Jim Meyering
since that didn't cover --version output. (main): Instead, call close_stdout_set_status and arrange to call close_stdout via atexit.
2000-05-07(usage): Call close_stdout_status.Jim Meyering
2000-04-09Use the "C" locale when using --rfc-822 (-R), asJim Meyering
required by rfc822. Before, in the de_DE locale, date would print the German weekday and month abbreviations.
2000-04-03Include <langinfo.h> if it exists.Jim Meyering
(DATE_FMT_LANGINFO): New macro. (show_date): Use it to get the locale-specific default format for "date" if it exists.
2000-01-16(usage): Correct error in %V description.Jim Meyering
From Wolfram Kleff.
1999-09-02Remove xstrdup declaration.Jim Meyering
1999-08-22(batch_convert): Use IF_LINT macro instead of #ifdef lint.Jim Meyering
1999-08-01(usage): Correct description of %S; (00..60, not 00..61).Jim Meyering
From Ken Pizzini.
1999-05-05(show_date): Change an automatic aggregate initializerJim Meyering
to be a static one. For SunOS4's cc.
1999-04-08Accept new option: --iso-8601.Jim Meyering
1999-03-31No longer include long-options.h.Jim Meyering
[long_options]: Add entries for --help and --version. Remove parse_long_options call. (main) [getopt switch]: Add a case for each of --help and --version.
1999-03-31(PROGRAM_NAME, AUTHORS): Define and use.Jim Meyering
1999-03-07(batch_convert): Use a `%s' format in error call,Jim Meyering
in case the argument string contains a `%'.
1999-03-06Include long-options.h.Jim Meyering
[long_options]: Remove the "help" and "version" entries. Remove declarations of show_help and show_version. (main): Use parse_long_options, including author name(s). Remove the show_version and show_help blocks.
1999-01-25(usage): Remove static attribute.Jim Meyering
Move function be the first in the file.
1999-01-14Include closeout.h. (main): Use close_stdout_status.Jim Meyering
1998-12-11(main): Arrange to exit unsuccessfully when stime fails.Jim Meyering
From Andreas Schwab.
1998-10-03(main): Update to use new version of posixtime.Jim Meyering
1998-09-19update bug-reporting addressJim Meyering
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