diff options
author | Jakub Narebski <jnareb@gmail.com> | 2011-04-28 21:04:11 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-05-24 11:22:45 -0700 |
commit | 2e987f92408f5ddd20246d7d9553b57d90767d54 (patch) | |
tree | e11b90012bf8c37d562460c6b3bc9177bc00a2a9 /gitweb/static/gitweb.css | |
parent | gitweb.js: Add UI for selecting common timezone to display dates (diff) | |
download | tgif-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 'gitweb/static/gitweb.css')
0 files changed, 0 insertions, 0 deletions