Re: git.git object database at kernel.org?
- From
Linus Torvalds <torvalds@osdl.org>
- Date
- Apr 26, 2005, 00:32 UTC
- Message-ID
- <Pine.LNX.4.58.0504251729080.18901@ppc970.osdl.org>
- In-Reply-To
- <426D3B01.8060408@zytor.com>
On Mon, 25 Apr 2005, H. Peter Anvin wrote:
> > No, mktime() always uses the local time zone. It's the inverse of > localtime().
Note that this still doesn't make any sense.
A true inverse of "localtime()" should still take the GMT offset from "struct tm", and it would work fine, assuming that localtime() set that offset correctly.
So _I_ think it's incredibly stupid that mktime() looks at the local timezone.
Oh, well. Not a big issue except for the date conversion, and since there hopefully aren't any old repo's left, we can leave it behind us.
Linus