This is the mail archive of the
glibc-bugs@sources.redhat.com
mailing list for the glibc project.
[Bug manual/926] New: Manual documentation for strftime %s should mention timezone gotcha.
- From: "ashley at semantic dot org" <sourceware-bugzilla at sources dot redhat dot com>
- To: glibc-bugs at sources dot redhat dot com
- Date: 4 May 2005 08:52:27 -0000
- Subject: [Bug manual/926] New: Manual documentation for strftime %s should mention timezone gotcha.
- Reply-to: sourceware-bugzilla at sources dot redhat dot com
In the documentation for strftime (sec. 21.4.5 Formatting Calendar Time)
<http://www.gnu.org/software/libc/manual/html_node/Formatting-Calendar-Time.html#Formatting-
Calendar-Time>:
Found:
"%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.
"This format is a GNU extension."
Expected: to mention that %s ignores tm_gmtoff in favour of the current time zone (as per mktime). For
instance:
"%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."
--
Summary: Manual documentation for strftime %s should mention
timezone gotcha.
Product: glibc
Version: 2.3.5
Status: NEW
Severity: normal
Priority: P2
Component: manual
AssignedTo: roland at gnu dot org
ReportedBy: ashley at semantic dot org
CC: glibc-bugs at sources dot redhat dot com
http://sources.redhat.com/bugzilla/show_bug.cgi?id=926
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.