From: Linus Torvalds Date: Tue, 26 Apr 2005 00:32:17 GMT Subject: Re: git.git object database at kernel.org? Message-ID: 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