From: Junio C Hamano Date: Thu, 17 Mar 2011 18:26:04 GMT Subject: Re: [PATCH 2/2] gitweb: introduce localtime feature Message-ID: <7vaagt4n9f.fsf@alter.siamese.dyndns.org> In-Reply-To: Jakub Narebski writes: > Kevin Cernekee writes: > >> With this feature enabled, all timestamps are shown in the machine's >> local timezone instead of GMT. > > This does not describe why would one want such way of displaying > timestamps, and which views would be affected. > > BTW. should it be timezone of web server (machine where gitweb is > run), or local time of author / committer / tagger as described in the > timezone part of git timestamp? Both are sensible choices; another plausible choice that normal people would want to see is to use the zone of whoever is requesting the page (note that this would affect the caching layer). >> + # Use localtime rather than GMT for all timestamps. Disabled >> + # by default. Project specific override is not supported. >> + 'localtime' => { >> + 'override' => 0, >> + 'default' => [0]}, > > Why project specific override is not supported? Good question.