summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorLibravatar Jakub Narebski <jnareb@gmail.com>2011-04-28 21:04:11 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2011-05-24 11:22:45 -0700
commit2e987f92408f5ddd20246d7d9553b57d90767d54 (patch)
treee11b90012bf8c37d562460c6b3bc9177bc00a2a9 /t
parentgitweb.js: Add UI for selecting common timezone to display dates (diff)
downloadtgif-2e987f92408f5ddd20246d7d9553b57d90767d54.tar.xz
gitweb: Make JavaScript ability to adjust timezones configurable
Configure JavaScript-based ability to select common timezone for git dates via %feature mechanism, namely 'javascript-timezone' feature. The following settings are configurable: * default timezone (defaults to 'local' i.e. browser timezone); this also can function as a way to disable this ability, by setting it to false-ish value (undef or '') * name of cookie to store user's choice of timezone * class name to mark dates NOTE: This is a bit of abuse of %feature system, which can store only sequence of values, rather than dictionary (hash); usually but not always only a single value is used. Based-on-code-by: John 'Warthog9' Hawley <warthog9@eaglescrag.net> Helped-by: Kevin Cernekee <cernekee@gmail.com> Signed-off-by: Jakub Narebski <jnareb@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't')
0 files changed, 0 insertions, 0 deletions