Branch
Hash :
ca5ebe4b
Author :
Date :
2025-07-29T22:31:13
nstrftime: Handle non-Gregorian calendars the same way on all platforms. Suggested by Collin Funk. * modules/nstrftime-limited: New file, based on modules/nstrftime. * modules/nstrftime (Depends-on): Add nstrftime-limited. Add localename-unsafe. Remove localename-unsafe-limited. (configure.ac): Invoke gl_MODULE_INDICATOR. (Makefile.am): Don't add nstrftime.c to lib_SOURCES; this would conflict with modules/nstrftime-limited. (Link): Add $(LIBTHREAD). * lib/strftime.c (SUPPORT_NON_GREG_CALENDARS_IN_STRFTIME): Don't force to false if GNULIB_NSTRFTIME is defined. * modules/nstrftime-tests (Makefile.am): Link test-nstrftime, test-nstrftime-?? with $(LIBTHREAD).
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
Description:
nstrftime() function: convert date and time to string, with GNU extensions.
Files:
lib/strftime.h
lib/nstrftime.c
lib/strftime.c
lib/calendars.h
lib/calendar-thai.h
lib/calendar-persian.h
lib/calendar-ethiopian.h
m4/nstrftime.m4
m4/tm_gmtoff.m4
Depends-on:
nstrftime-limited
attribute
c-ctype
c99
errno-h
extensions
intprops
libc-config
localcharset
localename-unsafe
bool
stdckdint-h
time_rz
configure.ac:
gl_FUNC_GNU_STRFTIME
gl_MODULE_INDICATOR([nstrftime])
Makefile.am:
Include:
"strftime.h"
Link:
@INTL_MACOSX_LIBS@
$(LIBTHREAD)
License:
LGPL
Maintainer:
Jim Meyering, glibc