poll tests: Avoid test failure on BSD and Solaris systems.
[gnulib.git] / doc / posix-functions / strftime.texi
blob13605c24c22cc36512037bdc3d170bda7e1cac0a
1 @node strftime
2 @section @code{strftime}
3 @findex strftime
5 POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/strftime.html}
7 Gnulib module: strftime-fixes
9 Portability problems fixed by Gnulib:
10 @itemize
11 @item
12 On native Windows platforms (mingw, MSVC), this function works incorrectly
13 when the environment variable @code{TZ} has been set by Cygwin.
14 @end itemize
16 Portability problems not fixed by Gnulib:
17 @itemize
18 @item
19 The Windows C runtime library (which is used by MinGW) does not
20 support the %e specifier (and possibly the other more recent SUS
21 specifiers too, i.e., %C, %D, %h, %n, %r, %R, %t, and %T).
22 @item
23 Native Windows platforms (mingw, MSVC) support only a subset of time
24 zones supported by GNU or specified by POSIX@.  @xref{tzset}.
25 @end itemize
27 Extension: Gnulib offers a module @samp{nstrftime} that provides an
28 @code{nstrftime} function with various GNU extensions.