summaryrefslogtreecommitdiff
path: root/lib/strftime.c
AgeCommit message (Collapse)Author
2004-11-11Sync from gnulib.Paul Eggert
2004-11-09Sync from gnulib.Paul Eggert
2003-09-30(tm_diff) [! HAVE_TM_GMTOFF]: Fix arg typo in previous patch.Jim Meyering
2003-09-13(my_strftime_gmtime_r): Remove; all uses changed to __gmtime_r.Jim Meyering
(my_strftime_localtime_r): Remove; all uses changed to __localtime_r. (__gtime_r, __localtime_r) [!HAVE_TM_GMTOFF]: New macros. Include <time_r.h>.
2003-07-10Switch from LGPL to GPL.Jim Meyering
2003-06-08[!_LIBC]: Ensure that the required autoconf test has been run.Jim Meyering
2003-06-08Clean up, as part of merge with emacs version of strftime.c.Jim Meyering
(my_strftime) [!_LIBC && HAVE_TZNAME && HAVE_TZSET]: Remove function, now that we can rely on a working tzset function. Ensure that the required autoconf test has been run.
2003-05-29Make the %r format directive honor any locale setting.Jim Meyering
(my_strftime) [!defined _NL_CURRENT && HAVE_STRFTIME]: Use underlying_strftime for %r.
2003-05-12(my_strftime): Let the `-' (no-pad) flag affectJim Meyering
the space-padded-by-default conversion specifiers, %e, %k, %l.
2003-04-15Remove (or replace-with-TAB(s) to retain alignment)Jim Meyering
each sequence of spaces before a TAB character.
2003-03-22(widen): Cast alloca return value to proper type.Jim Meyering
2003-01-20From GNU libc.Jim Meyering
(my_strftime): Handle very large width specifications for numeric values correctly. Improve checks for overflow.
2003-01-19(widen) [COMPILE_WIDE]: Merge nearly-identical definitions.Jim Meyering
(nl_get_alt_digit) [! defined my_strftime]: Define. (my_strftime) [_NL_CURRENT]: Merge nearly-identical uses of _nl_get_alt_digit and _nl_get_walt_digit.
2003-01-19(my_strftime): Merge in locale-related changes from libc.Jim Meyering
These changes have no effect outside of _LIBC.
2001-12-09(my_strftime_localtime_r): Include this functionJim Meyering
definition in the `#if ! HAVE_TM_GMTOFF' block.
2001-05-20(my_strftime):Jim Meyering
Define to nstrftime if emacs, but only if my_strftime is not defined. (extra_args, extra_args_spec, extra_args_spec_iso): Rename from ut_argument, ut_argument_spec, ut_argument_spec_iso, respectively. Add one more extra argument: a nanoseconds value. All uses changed. (ns): New macro. (my_strftime function): Add %N format. (emacs_strftimeu): Renamed from emacs_strftime, with extra ut argument.
2001-02-17update comments from libcJim Meyering
2001-01-04Sync with glibc time/strftime.c 1.81.Jim Meyering
2000-11-23(my_strftime): Do not invoke mbrlen with aJim Meyering
size of (size_t) -1; it's not portable.
2000-10-26Update from libc.Jim Meyering
2000-08-30Merge in changes from GNU libc.Jim Meyering
2000-04-17(my_strftime) [strftime]: Declare strftime here, since the definitionJim Meyering
of it to rpl_strftime also defined-away the system's declaration.
2000-04-03(my_strftime): Make sure we call the systemJim Meyering
strftime, not ourselves, when invoking the underlying strftime.
2000-01-06Sync with the GNU C Library.Jim Meyering
2000-01-02(my_strftime): Some old compilers object toJim Meyering
'\a', so don't bother optimizing for it.
1999-09-19Remove useless parens in #if directiveJim Meyering
1999-04-06Update from master source in libc, removing %f.Jim Meyering
1998-12-07ansideclifyJim Meyering
1998-10-18 Don't invoke localtime_r or gmtime_r unless it's the GNU CJim Meyering
library's localtime_r and gmtime_r; there are too many buggy implementations of localtime_r and gmtime_r out there, and it's not worth keeping track of all the different bugs. * strftime.c (__EXTENSIONS__): Remove. (my_strftime_gmtime_r): Renamed from gmtime_r; all uses changed. (my_strftime_localtime_r): Renamed from localtime_r; all uses changed. Base them on localtime/gmtime if not _LIBC.
1998-10-18Declare localtime_r if necessary.Jim Meyering
1998-10-17Some systems require <unistd.h> to be included before <time.h> forJim Meyering
localtime_r to be declared properly.
1998-09-27(my_strftime): Update from FSF.Jim Meyering
1998-04-28tweak from FSFJim Meyering
1997-11-18(_REENTRANT): #define, as some hosts need this to declare localtime_r properly.Jim Meyering
From Paul Eggert.
1997-11-13Update from FSF.Jim Meyering
1997-10-22update from FSFJim Meyering
1997-05-28correct/normalize indentation in cpp directivesJim Meyering
1997-05-28update from FSFJim Meyering
1997-01-23revert last changeJim Meyering
1997-01-22[strftime]: Add parameters to macro definition. From Drepper.Jim Meyering
1997-01-22(_strftime_copytm): New function, to work around Solaris 2.5 tzset bug.Jim Meyering
From Paul Eggert.
1996-12-21update from GNU libcJim Meyering
1996-12-21Update from GNU libc.Jim Meyering
1996-12-18run cpp-indentJim Meyering
1996-12-18another new version ...Jim Meyering
1996-12-18Update from GNU libc.Jim Meyering
1996-12-10add a spaceJim Meyering
1996-12-10revert last change.Jim Meyering
1996-12-10[HAVE_TZNAME || defined __LIBC]: Declare tzname.Jim Meyering
1996-12-09[HAVE_TZNAME]: Declare tzname.Jim Meyering
Patch from Karl Heuer.