This is the mail archive of the glibc-bugs@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug manual/926] New: Manual documentation for strftime %s should mention timezone gotcha.


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]