[PATCH][BZ #926] Mention timezone for strftime %s

Ondřej Bílka neleai@seznam.cz
Sat Oct 12 16:58:00 GMT 2013


Hi,

this is next bug that received no response. Patch is following, take it
or close bug I am sligthly for adding it.

	* manual/time.texi (strftime): Mention that %s uses current
	timezone.

diff --git a/manual/time.texi b/manual/time.texi
index ff31e28..33a55ef 100644
--- a/manual/time.texi
+++ b/manual/time.texi
@@ -1277,6 +1277,7 @@ but was previously available as a GNU extension.
 @item %s
 The number of seconds since the epoch, i.e., since 1970-01-01 00:00:00 UTC.
 Leap seconds are not counted unless leap second support is available.
+Note that like mktime, this uses the current time zone instead of tm_gmtoff.
 
 This format is a GNU extension.
 



More information about the Libc-alpha mailing list