Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH 2/2] gitweb: introduce localtime feature

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:50:48

Jakub Narebski [off-list ref] writes:
Kevin Cernekee [off-list ref] writes:
quoted
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).
quoted
+	# 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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help