summaryrefslogtreecommitdiff
path: root/lib/strftime.c
AgeCommit message (Collapse)Author
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.
1996-12-07(strftime): Remove " %Z" part of format for %c. Suggestion from Paul Eggert.Jim Meyering
1996-12-01Update from GNU libc.Jim Meyering
1996-11-05Fix copyright.Jim Meyering
1996-10-10(strftime): Accommodate the broken C compilerJim Meyering
that comes with SunOS -- don't initialize aggregates in decls of automatic variables. Reported by Kaveh Ghazi.
1996-09-17(strftime): New version, from GNU libc.Jim Meyering
1996-09-06revert last changeJim Meyering
1996-09-06New version from glibc.Jim Meyering
1996-08-17Update from GNU libc -- this adds back %z and %sJim Meyering
formats and reverts to old behavior where unrecognized format like %E is treated as eqivalent to `E'.
1996-07-30Update from GNU libc master.Jim Meyering
1996-07-17Use `;' instead of (void)0.Jim Meyering
1996-07-16Use `(void)0' as second arg to add macro.Jim Meyering
Omitting that second arg made some HPUX C compiler report an error. From Kaveh R. Ghazi.
1996-07-16Update from FSF.Jim Meyering
1996-07-15indent cpp-directivesJim Meyering
1996-05-07Update from GNU libc.Jim Meyering
1996-04-08(mon_week_ISO): New function to implement new %V format.Jim Meyering
(sun_week): Make TM parameter `const'. (mon_week): Likewise. (mon_week): Rewrite to correctly implement %W format..
1996-04-05(sun_week): Make %U work properly.Jim Meyering
Before, `date -d '1 Jan 1995' +%U' output `00'. Now it prints `01'.
1996-02-16.Jim Meyering
1996-02-01(add_num_tz): New function.Jim Meyering
(strftime): Handle new %z format. From H. Peter Anvin (hpa@storm.net). Don't use local, LENGTH, before it's defined.
1994-09-27merge with 1.10n1Jim Meyering