bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

fyi, strftime on Windows doesn't support %e


From: Simon Josefsson
Subject: fyi, strftime on Windows doesn't support %e
Date: Thu, 17 Apr 2008 13:19:01 +0200
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1 (gnu/linux)

In this report:

http://thread.gmane.org/gmane.network.gnutls.general/1145/focus=1170

It seems that strftime on Windows doesn't support %e.

According to:

http://www.opengroup.org/onlinepubs/009695399/functions/strftime.html

that specifier was not part of SUS.

I've applied the following to document this.

/Simon

>From 7fad45e36425668f204e3343470fd18c32b31b6f Mon Sep 17 00:00:00 2001
From: Simon Josefsson <address@hidden>
Date: Thu, 17 Apr 2008 13:16:54 +0200
Subject: [PATCH] Mention that strftime %e doesn't work under Windows.

---
 ChangeLog                         |    5 +++++
 doc/posix-functions/strftime.texi |    3 +++
 2 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 9902602..1e436e8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-04-17  Simon Josefsson  <address@hidden>
+
+       * doc/posix-functions/strftime.texi (strftime): Mention that %e
+       doesn't work under Windows.
+
 2008-04-16  Bruno Haible  <address@hidden>
 
        * lib/localename.c (LANG_MAORI, LANG_QUECHUA, LANG_SOTHO, LANG_UIGHUR):
diff --git a/doc/posix-functions/strftime.texi 
b/doc/posix-functions/strftime.texi
index 8b579be..faf69f5 100644
--- a/doc/posix-functions/strftime.texi
+++ b/doc/posix-functions/strftime.texi
@@ -12,6 +12,9 @@ Portability problems fixed by Gnulib:
 
 Portability problems not fixed by Gnulib:
 @itemize
address@hidden
+Windows does support the non-SUS %e specifier (and possibly the other
+non-SUS specifiers too).
 @end itemize
 
 Extension: Gnulib offers a module @samp{strftime} that provides an
-- 
1.5.4.4





reply via email to

[Prev in Thread] Current Thread [Next in Thread]