Re: localtime()

Felix von Leitner <[email protected]> Sun, 4 Dec 2011 17:11:09 +0100
Newsgroups gmane.linux.lib.dietlibc
Message-ID <[email protected]>
Thus spake Jorge Almeida ([email protected]):
> 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?

Do you have a patch?

I was so happy when I got that code to return the right date for
Europe/Berlin that I avoided touching it ever since.  The file format is
horrible!

Felix