localtime()
Jorge Almeida <[email protected]> Sun, 4 Dec 2011 10:48:06 +0000
| Newsgroups | gmane.linux.lib.dietlibc |
|---|---|
| Message-ID | <CAKpSnpJf8qzuqxMeO33sucUadAFrCCTA6Rab5nQ9zh7XSuUM6A@mail.gmail.com> |
localtime() doesn't seem to take leap seconds into account. I have a right/* timezone and I expected (perhaps wrongly) localtime() to return the correct UTC time. Instead, I have to subtract 24s. Is this the correct behaviour? Thanks J.Almeida